]> granicus.if.org Git - clang/commitdiff
[analyzer] Change warding in a path diagnostic:
authorAnna Zaks <ganna@apple.com>
Thu, 5 Apr 2012 02:10:19 +0000 (02:10 +0000)
committerAnna Zaks <ganna@apple.com>
Thu, 5 Apr 2012 02:10:19 +0000 (02:10 +0000)
"No method actually called because receiver is nil" ->
"No method is called because receiver is nil"

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@154077 91177308-0d34-0410-b5e6-96231b3b80d8

lib/StaticAnalyzer/Core/BugReporterVisitors.cpp

index 09a9b41eae248ac3ee0306deb36f556d0f8dd1b9..65324868518e0ed0feaf1904ea1c18eaf5017b33 100644 (file)
@@ -393,7 +393,7 @@ PathDiagnosticPiece *NilReceiverBRVisitor::VisitNode(const ExplodedNode *N,
   // Issue a message saying that the method was skipped.
   PathDiagnosticLocation L(Receiver, BRC.getSourceManager(),
                                      N->getLocationContext());
-  return new PathDiagnosticEventPiece(L, "No method actually called "
+  return new PathDiagnosticEventPiece(L, "No method is called "
       "because the receiver is nil");
 }