]> granicus.if.org Git - clang/commitdiff
Fix an inverse boolean and unnecessary new line in warning output from AnalyzerStatsC...
authorTom Care <tom.care@uqconnect.edu.au>
Wed, 22 Sep 2010 21:07:51 +0000 (21:07 +0000)
committerTom Care <tom.care@uqconnect.edu.au>
Wed, 22 Sep 2010 21:07:51 +0000 (21:07 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@114581 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Checker/AnalyzerStatsChecker.cpp

index 9c6fcd2be15d599b472d5def6c3a41d7598fc9fe..b016eb9db0c8f216c6074af498818ed0591207fb 100644 (file)
@@ -95,9 +95,9 @@ void AnalyzerStatsChecker::VisitEndAnalysis(ExplodedGraph &G,
 
   output << " -> Total CFGBlocks: " << total << " | Unreachable CFGBlocks: "
       << unreachable << " | Aborted Block: "
-      << (Eng.wasBlockAborted() ? "no" : "yes")
+      << (Eng.wasBlockAborted() ? "yes" : "no")
       << " | Empty WorkList: "
-      << (Eng.hasEmptyWorkList() ? "yes" : "no") << "\n";
+      << (Eng.hasEmptyWorkList() ? "yes" : "no");
 
   B.EmitBasicReport("Analyzer Statistics", "Internal Statistics", output.str(),
       D->getLocation());