aboutsummaryrefslogtreecommitdiff
path: root/Driver/AnalysisConsumer.cpp
AgeCommit message (Collapse)Author
2008-07-02Moved logic for -dump-cfg and -view-cfg into AnalysisConsumer.Ted Kremenek
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). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@53041 91177308-0d34-0410-b5e6-96231b3b80d8
2008-07-02Move -dump-live-variables logic to AnalysisConsumer.Ted Kremenek
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@53039 91177308-0d34-0410-b5e6-96231b3b80d8
2008-07-02Migrate CheckerConsumer diagnostics to the new AnalysisConsumer interface.Ted Kremenek
Remove CheckerConsumer. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@53029 91177308-0d34-0410-b5e6-96231b3b80d8
2008-07-02Move logic for "-checker-simple" to the new AnalysisConsumer interface.Ted Kremenek
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@53028 91177308-0d34-0410-b5e6-96231b3b80d8
2008-07-02Migrated driver logic for running the CF retain/release checker over to the ↵Ted Kremenek
new AnalysisConsumer interface. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@53002 91177308-0d34-0410-b5e6-96231b3b80d8
2008-07-02Added AnalysisConsumer, a meta-level ASTConsumer class to drive variousTed Kremenek
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). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@52996 91177308-0d34-0410-b5e6-96231b3b80d8