aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/Analysis/CFRefCount.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/Analysis/CFRefCount.cpp b/lib/Analysis/CFRefCount.cpp
index 315bdcf689..81017211a6 100644
--- a/lib/Analysis/CFRefCount.cpp
+++ b/lib/Analysis/CFRefCount.cpp
@@ -2451,12 +2451,11 @@ CFRefLeakReport::getEndPath(BugReporter& br, const ExplodedNode<GRState>* EndN){
<< MD.getSelector().getAsString()
<< "') does not contain 'copy' or otherwise starts with"
" 'new' or 'alloc'. This violates the naming convention rules given"
- " in the Memory Management Guide for Cocoa (object leaked).";
+ " in the Memory Management Guide for Cocoa (object leaked)";
}
else
os << " is no longer referenced after this point and has a retain count of"
- " +"
- << RV->getCount() << " (object leaked).";
+ " +" << RV->getCount() << " (object leaked)";
return new PathDiagnosticEventPiece(L, os.str());
}