From ef2b3a71bbbe764ae8ea16f6b36e234e3d8dc1f6 Mon Sep 17 00:00:00 2001 From: Ted Kremenek Date: Fri, 12 Sep 2008 18:17:46 +0000 Subject: [PATCH] Add missing spaces in path diagnostics. llvm-svn: 56166 --- clang/lib/Analysis/BugReporter.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/clang/lib/Analysis/BugReporter.cpp b/clang/lib/Analysis/BugReporter.cpp index b9a0d406a97f..7e3db7aba457 100644 --- a/clang/lib/Analysis/BugReporter.cpp +++ b/clang/lib/Analysis/BugReporter.cpp @@ -550,7 +550,7 @@ void GRBugReporter::GeneratePathDiagnostic(PathDiagnostic& PD, } } else { - os << "'Default' branch taken."; + os << "'Default' branch taken. "; ExecutionContinues(os, SMgr, LastNode); } @@ -587,7 +587,7 @@ void GRBugReporter::GeneratePathDiagnostic(PathDiagnostic& PD, std::ostringstream os; - os << "Loop condition is true."; + os << "Loop condition is true. "; ExecutionContinues(os, SMgr, Dst); PD.push_front(new PathDiagnosticPiece(L, os.str())); @@ -606,7 +606,7 @@ void GRBugReporter::GeneratePathDiagnostic(PathDiagnostic& PD, std::ostringstream os; - os << "Loop condition is false."; + os << "Loop condition is false. "; ExecutionContinues(os, SMgr, Dst); PD.push_front(new PathDiagnosticPiece(L, os.str()));