diff options
author | Ted Kremenek <kremenek@apple.com> | 2008-07-02 00:03:09 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2008-07-02 00:03:09 +0000 |
commit | f0413bfcda2e8498b6381fe4be8589f5b157ce0f (patch) | |
tree | 7d1e818106f1d86077b7ac71e8caf02c6440f50b /llvm/lib/CodeGen/MachineModuleInfo.cpp | |
parent | 31936d6ab639762ff488a94e1daad2b235b65607 (diff) | |
download | llvm-f0413bfcda2e8498b6381fe4be8589f5b157ce0f.zip llvm-f0413bfcda2e8498b6381fe4be8589f5b157ce0f.tar.gz llvm-f0413bfcda2e8498b6381fe4be8589f5b157ce0f.tar.bz2 |
Added AnalysisConsumer, a meta-level ASTConsumer class to drive various
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
Diffstat (limited to 'llvm/lib/CodeGen/MachineModuleInfo.cpp')
0 files changed, 0 insertions, 0 deletions