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

Ted Kremenek kremenek at apple.com
Wed Dec 21 22:39:29 PST 2011


I've fixed both in r147139.  Thank you!

On Dec 21, 2011, at 10:21 PM, Matt Beaumont-Gay wrote:

> On Wed, Dec 21, 2011 at 22:15, Robert Purves <listrp at gmail.com> wrote:
>> 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 ('"
> 
> Also, s/return/returned/ here. I'll commit this tomorrow if nobody
> else gets to it first.
> 
>>          << 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.
>> 
>> 
>> 
>> 
>> 
>> 
>> _______________________________________________
>> cfe-dev mailing list
>> cfe-dev at cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>> 
> 
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev




More information about the cfe-dev mailing list