diff options
author | Tom Care <tom.care@uqconnect.edu.au> | 2010-09-18 00:17:17 +0000 |
---|---|---|
committer | Tom Care <tom.care@uqconnect.edu.au> | 2010-09-18 00:17:17 +0000 |
commit | 0bd3431a5e0374dbf23f700ce91fa814ade5a2ca (patch) | |
tree | a821f1ee5ff38b13da7991ec908555346a5936f5 | |
parent | 49b415de1f8a31501c4f51a4dce2957fa109e6d9 (diff) | |
download | bcm5719-llvm-0bd3431a5e0374dbf23f700ce91fa814ade5a2ca.tar.gz bcm5719-llvm-0bd3431a5e0374dbf23f700ce91fa814ade5a2ca.zip |
Revert r114244 since it breaks a test in Analysis.
llvm-svn: 114246
-rw-r--r-- | clang/lib/Checker/IdempotentOperationChecker.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/clang/lib/Checker/IdempotentOperationChecker.cpp b/clang/lib/Checker/IdempotentOperationChecker.cpp index f392a8da82d..3dcbea491eb 100644 --- a/clang/lib/Checker/IdempotentOperationChecker.cpp +++ b/clang/lib/Checker/IdempotentOperationChecker.cpp @@ -364,9 +364,6 @@ void IdempotentOperationChecker::VisitEndAnalysis(ExplodedGraph &G, BugReporter &BR, GRExprEngine &Eng) { BugType *BT = new BugType("Idempotent operation", "Dead code"); - // If a sink is present, we may have not seen the complete path. - BT->setSuppressOnSink(true); - // Iterate over the hash to see if we have any paths with definite // idempotent operations. for (AssumptionMap::const_iterator i = hash.begin(); i != hash.end(); ++i) { |