summaryrefslogtreecommitdiffstats
path: root/clang/lib/Checker
diff options
context:
space:
mode:
authorTom Care <tom.care@uqconnect.edu.au>2010-09-22 21:07:51 +0000
committerTom Care <tom.care@uqconnect.edu.au>2010-09-22 21:07:51 +0000
commit14fefab721618852392ec083002a5230d1d8d047 (patch)
tree9448ec0f323b9a2e45172ad247a010db4733cd09 /clang/lib/Checker
parent1f57cc4a5974dd9799b9d23397c3d3e97f3e8e00 (diff)
downloadbcm5719-llvm-14fefab721618852392ec083002a5230d1d8d047.tar.gz
bcm5719-llvm-14fefab721618852392ec083002a5230d1d8d047.zip
Fix an inverse boolean and unnecessary new line in warning output from AnalyzerStatsChecker.
llvm-svn: 114581
Diffstat (limited to 'clang/lib/Checker')
-rw-r--r--clang/lib/Checker/AnalyzerStatsChecker.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Checker/AnalyzerStatsChecker.cpp b/clang/lib/Checker/AnalyzerStatsChecker.cpp
index 9c6fcd2be15..b016eb9db0c 100644
--- a/clang/lib/Checker/AnalyzerStatsChecker.cpp
+++ b/clang/lib/Checker/AnalyzerStatsChecker.cpp
@@ -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());
OpenPOWER on IntegriCloud