]> granicus.if.org Git - clang/commitdiff
Uncomment unfinished work bailout in IdempotentOperationsChecker.
authorTom Care <tcare@apple.com>
Fri, 30 Jul 2010 21:14:15 +0000 (21:14 +0000)
committerTom Care <tcare@apple.com>
Fri, 30 Jul 2010 21:14:15 +0000 (21:14 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@109893 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Checker/IdempotentOperationChecker.cpp

index 6e6f5bdd96bf10697aa5bcdff5e1649da789d12e..9ef56b0d583b24689358cfbd8be29388d1c828b5 100644 (file)
@@ -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.