summaryrefslogtreecommitdiffstats
path: root/clang/lib/Checker/AnalysisConsumer.cpp
diff options
context:
space:
mode:
authorTom Care <tcare@apple.com>2010-07-16 20:41:41 +0000
committerTom Care <tcare@apple.com>2010-07-16 20:41:41 +0000
commit826e6b40231e3932a802e19f9429337dc7e121cc (patch)
treed8155de320d8029b083373b452c13813cb0fd351 /clang/lib/Checker/AnalysisConsumer.cpp
parentfee4dafbd049fe23c72129f44f70cc6414aab0fd (diff)
downloadbcm5719-llvm-826e6b40231e3932a802e19f9429337dc7e121cc.tar.gz
bcm5719-llvm-826e6b40231e3932a802e19f9429337dc7e121cc.zip
Improved false positive rate for the idempotent operations checker and moved it into the default path-sensitive analysis options.
- Added checks for static local variables, self assigned parameters, and truncating/extending self assignments - Removed command line option (now default with --analyze) - Updated test cases to pass with idempotent operation warnings llvm-svn: 108550
Diffstat (limited to 'clang/lib/Checker/AnalysisConsumer.cpp')
-rw-r--r--clang/lib/Checker/AnalysisConsumer.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/clang/lib/Checker/AnalysisConsumer.cpp b/clang/lib/Checker/AnalysisConsumer.cpp
index 524f37e3966..6c7a294b1d8 100644
--- a/clang/lib/Checker/AnalysisConsumer.cpp
+++ b/clang/lib/Checker/AnalysisConsumer.cpp
@@ -341,9 +341,6 @@ static void ActionGRExprEngine(AnalysisConsumer &C, AnalysisManager& mgr,
if (C.Opts.EnableExperimentalChecks)
RegisterExperimentalChecks(Eng);
- if (C.Opts.EnableIdempotentOperationChecker)
- RegisterIdempotentOperationChecker(Eng);
-
// Set the graph auditor.
llvm::OwningPtr<ExplodedNode::Auditor> Auditor;
if (mgr.shouldVisualizeUbigraph()) {
OpenPOWER on IntegriCloud