[cfe-dev] [PATCH] missing word in static analyzer's output

Robert Purves listrp at gmail.com
Wed Dec 21 22:15:14 PST 2011


The attached patch fixes a missing word in the static analyzer's output, for a warning that relates to Core Foundation in OS X.

Index: lib/StaticAnalyzer/Checkers/RetainCountChecker.cpp
===================================================================
--- lib/StaticAnalyzer/Checkers/RetainCountChecker.cpp	(revision 147138)
+++ lib/StaticAnalyzer/Checkers/RetainCountChecker.cpp	(working copy)
@@ -2204,7 +2204,7 @@
       os << " is return from a function whose name ('"
          << FD->getNameAsString()
          << "') does not contain 'Copy' or 'Create'.  This violates the naming"
-            " convention rules given the Memory Management Guide for Core"
+            " convention rules given in the Memory Management Guide for Core"
             " Foundation";
     }    
   }

Robert P.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: attachment.bin
Type: application/macbinary
Size: 662 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20111222/7b3fd4b6/attachment.bin>
-------------- next part --------------




More information about the cfe-dev mailing list