hanchenye-llvm-project/clang/Driver/Analyses.def

42 lines
1.4 KiB
C++

//===-- Analyses.def - Metadata about Static Analyses -----------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
// This file defines the set of static analyses used by AnalysisConsumer.
//
//===----------------------------------------------------------------------===//
ANALYSIS(CFGDump, "cfg-dump",
"Display Control-Flow Graphs")
ANALYSIS(CFGView, "cfg-view",
"View Control-Flow Graphs using GraphViz")
ANALYSIS(DisplayLiveVariables, "dump-live-variables",
"Print results of live variable analysis")
ANALYSIS(WarnDeadStores, "warn-dead-stores",
"Warn about stores to dead variables")
ANALYSIS(WarnUninitVals, "warn-uninit-values",
"Warn about uses of uninitialized variables")
ANALYSIS(WarnObjCMethSigs, "warn-objc-methodsigs",
"Warn about Objective-C method signatures with type incompatibilities")
ANALYSIS(WarnObjCDealloc, "warn-objc-missing-dealloc",
"Warn about Objective-C classes that lack a correct implementation of -dealloc")
ANALYSIS(CheckerSimple, "checker-simple",
"Perform simple path-sensitive checks.")
ANALYSIS(CheckerCFRef, "checker-cfref",
"Run the [Core] Foundation reference count checker")
#undef ANALYSIS