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 | 7476907a4b79fb23e9f25cf8acdcc9767541538f (patch) | |
tree | dd84d8238ed2d6c020aa2d32878f4938e83e6100 /lib/Checker/IdempotentOperationChecker.cpp | |
parent | 46976384326cb2fa17b75c84c45b44b1210f353a (diff) |
Revert r114244 since it breaks a test in Analysis.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@114246 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Checker/IdempotentOperationChecker.cpp')
-rw-r--r-- | lib/Checker/IdempotentOperationChecker.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/Checker/IdempotentOperationChecker.cpp b/lib/Checker/IdempotentOperationChecker.cpp index f392a8da82..3dcbea491e 100644 --- a/lib/Checker/IdempotentOperationChecker.cpp +++ b/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) { |