[cfe-commits] r114246 - /cfe/trunk/lib/Checker/IdempotentOperationChecker.cpp
Tom Care
tcare at apple.com
Fri Sep 17 17:17:17 PDT 2010
Author: tcare
Date: Fri Sep 17 19:17:17 2010
New Revision: 114246
URL: http://llvm.org/viewvc/llvm-project?rev=114246&view=rev
Log:
Revert r114244 since it breaks a test in Analysis.
Modified:
cfe/trunk/lib/Checker/IdempotentOperationChecker.cpp
Modified: cfe/trunk/lib/Checker/IdempotentOperationChecker.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Checker/IdempotentOperationChecker.cpp?rev=114246&r1=114245&r2=114246&view=diff
==============================================================================
--- cfe/trunk/lib/Checker/IdempotentOperationChecker.cpp (original)
+++ cfe/trunk/lib/Checker/IdempotentOperationChecker.cpp Fri Sep 17 19:17:17 2010
@@ -364,9 +364,6 @@
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) {
More information about the cfe-commits
mailing list