From: Tom Care Date: Sat, 18 Sep 2010 00:17:17 +0000 (+0000) Subject: Revert r114244 since it breaks a test in Analysis. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7476907a4b79fb23e9f25cf8acdcc9767541538f;p=clang 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 --- 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) {