aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Care <tcare@apple.com>2010-07-30 21:14:15 +0000
committerTom Care <tcare@apple.com>2010-07-30 21:14:15 +0000
commit216b2015aa44430a497262fe9d6b3641b3a344d1 (patch)
tree7f8707a9e2066d266403a1f9da1923cb6e5bbd92
parent385103b79c5338a2be5da0ca70652400bc267371 (diff)
Uncomment unfinished work bailout in IdempotentOperationsChecker.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@109893 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Checker/IdempotentOperationChecker.cpp4
1 files changed, 2 insertions, 2 deletions
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.