]> granicus.if.org Git - clang/commitdiff
Add missing spaces in path diagnostics.
authorTed Kremenek <kremenek@apple.com>
Fri, 12 Sep 2008 18:17:46 +0000 (18:17 +0000)
committerTed Kremenek <kremenek@apple.com>
Fri, 12 Sep 2008 18:17:46 +0000 (18:17 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56166 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/BugReporter.cpp

index b9a0d406a97ffa994f5baa349812d3e9326279e4..7e3db7aba4579df7b5426cfbd214d51ae05760d7 100644 (file)
@@ -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()));