summaryrefslogtreecommitdiffstats
path: root/clang/lib
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
commit18f67e669f37b138f7cfe708e08c803101700ecf (patch)
treed6b2380e7f68d7206e5ff411b6d0ff245ff6c737 /clang/lib
parentcf0287e56d59dbbf9193f9e113492ed45fad738f (diff)
downloadbcm5719-llvm-18f67e669f37b138f7cfe708e08c803101700ecf.tar.gz
bcm5719-llvm-18f67e669f37b138f7cfe708e08c803101700ecf.zip
Uncomment unfinished work bailout in IdempotentOperationsChecker.
llvm-svn: 109893
Diffstat (limited to 'clang/lib')
-rw-r--r--clang/lib/Checker/IdempotentOperationChecker.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Checker/IdempotentOperationChecker.cpp b/clang/lib/Checker/IdempotentOperationChecker.cpp
index 6e6f5bdd96b..9ef56b0d583 100644
--- a/clang/lib/Checker/IdempotentOperationChecker.cpp
+++ b/clang/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.
OpenPOWER on IntegriCloud