summaryrefslogtreecommitdiffstats
path: root/clang/Driver/AnalysisConsumer.h
Commit message (Collapse)AuthorAgeFilesLines
* Hook up the Plist diagnostic client to the driver.Ted Kremenek2008-11-031-1/+7
| | | | | | Fix Plist output. llvm-svn: 58652
* Make the analyzer store (memory model) a command line option.Ted Kremenek2008-10-241-1/+8
| | | | llvm-svn: 58056
* Added Ubigraph visualization for the static analyzer (this is pretty alpha ↵Ted Kremenek2008-08-271-2/+4
| | | | | | quality). llvm-svn: 55442
* Provide an "Analysis Scope" for Analyses so checks can either be run on code ↵Ted Kremenek2008-07-151-1/+1
| | | | | | declarations (bodies) or Objective-C @implementation blocks. llvm-svn: 53584
* Break off declaration of Analysis enum into Analyses.def. The driver options inTed Kremenek2008-07-141-9/+4
| | | | | | | | | | | | clang.cpp now #include these definitions to create the command line options, and AnalysisConsumer #includes this file to generate the switch statement to create actions. Renamed -check-objc-methodsigs to -warn-objc-methodsigs. The "missing -dealloc" check is now optional: -warn-objc-missing-dealloc llvm-svn: 53575
* Add new check: -check-objc-methodsigs. This check scans methods inTed Kremenek2008-07-111-1/+2
| | | | | | | | | ObjCImplementationDecls and sees if a ancestor class defines a method with the same selector but with a different type signature. Right now it just compares return types, and mainly looks at differences in primitive values. The checking will be expanded in the future. llvm-svn: 53482
* Moved logic for -dump-cfg and -view-cfg into AnalysisConsumer.Ted Kremenek2008-07-021-0/+2
| | | | | | Renamed -dump-cfg to -cfg-dump, and -view-cfg to -cfg-view. This naming better matches the same options for asts (e.g. -ast-dump). llvm-svn: 53041
* Move -dump-live-variables logic to AnalysisConsumer.Ted Kremenek2008-07-021-0/+1
| | | | llvm-svn: 53039
* Move logic for "-checker-simple" to the new AnalysisConsumer interface.Ted Kremenek2008-07-021-1/+2
| | | | llvm-svn: 53028
* Migrated driver logic for running the CF retain/release checker over to the ↵Ted Kremenek2008-07-021-1/+2
| | | | | | new AnalysisConsumer interface. llvm-svn: 53002
* Added AnalysisConsumer, a meta-level ASTConsumer class to drive variousTed Kremenek2008-07-021-0/+34
analyses. This potentially is the primordial origins of a Clang-equivalent "PassManager". The new AnalysisConsumer interface allows multiple analyses to be run from a single invocation of Clang. Migrated the logic of "-warn-dead-stores" and "-warn-uninit-values" to use the new AnalysisConsumer interface. The new interface results in a significant code reduction to incorporate an analysis into the Driver. Updated a test case to (correctly) acknowledge that it contains a dead store (this check wasn't being performed because it was previously masked by -warn-uninit-values). llvm-svn: 52996
OpenPOWER on IntegriCloud