[cfe-commits] r114581 - /cfe/trunk/lib/Checker/AnalyzerStatsChecker.cpp

Tom Care tcare at apple.com
Wed Sep 22 14:07:51 PDT 2010


Author: tcare
Date: Wed Sep 22 16:07:51 2010
New Revision: 114581

URL: http://llvm.org/viewvc/llvm-project?rev=114581&view=rev
Log:
Fix an inverse boolean and unnecessary new line in warning output from AnalyzerStatsChecker.

Modified:
    cfe/trunk/lib/Checker/AnalyzerStatsChecker.cpp

Modified: cfe/trunk/lib/Checker/AnalyzerStatsChecker.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Checker/AnalyzerStatsChecker.cpp?rev=114581&r1=114580&r2=114581&view=diff
==============================================================================
--- cfe/trunk/lib/Checker/AnalyzerStatsChecker.cpp (original)
+++ cfe/trunk/lib/Checker/AnalyzerStatsChecker.cpp Wed Sep 22 16:07:51 2010
@@ -95,9 +95,9 @@
 
   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());





More information about the cfe-commits mailing list