From: Tom Care Date: Fri, 30 Jul 2010 21:14:15 +0000 (+0000) Subject: Uncomment unfinished work bailout in IdempotentOperationsChecker. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=216b2015aa44430a497262fe9d6b3641b3a344d1;p=clang Uncomment unfinished work bailout in IdempotentOperationsChecker. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@109893 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Checker/IdempotentOperationChecker.cpp b/lib/Checker/IdempotentOperationChecker.cpp index 6e6f5bdd96..9ef56b0d58 100644 --- a/lib/Checker/IdempotentOperationChecker.cpp +++ b/lib/Checker/IdempotentOperationChecker.cpp @@ -298,8 +298,8 @@ void IdempotentOperationChecker::VisitEndAnalysis(ExplodedGraph &G, BugReporter &BR, bool hasWorkRemaining) { // If there is any work remaining we cannot be 100% sure about our warnings -// if (hasWorkRemaining) -// return; + if (hasWorkRemaining) + return; // Iterate over the hash to see if we have any paths with definite // idempotent operations.