summaryrefslogtreecommitdiffstats
path: root/clang/Driver/AnalysisConsumer.h
Commit message (Collapse)AuthorAgeFilesLines
* Static Analyzer driver/options (partial) cleanup:Ted Kremenek2009-02-171-51/+0
| | | | | | | | | | | | | | - Move all analyzer options logic to AnalysisConsumer.cpp. - Unified specification of stores/constraints/output to be: -analyzer-output=... -analyzer-store=... -analyzer-constraints=... instead of -analyzer-range-constraints, -analyzer-store-basic, etc. - Updated drivers (ccc-analyzer, scan-builds, new ccc) to obey this new interface - Updated test cases to conform to new driver options llvm-svn: 64737
* Added clang option '--analyzer-display-progress' to indicate that the ↵Ted Kremenek2009-01-231-1/+2
| | | | | | analyzer should output 'ANALYZE:' messages to display its progress on a source file. llvm-svn: 62875
* When using -analyzer-output-plist always output a plist file even if it ↵Ted Kremenek2009-01-231-1/+1
| | | | | | contains no error reports. llvm-svn: 62871
* 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