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

Matt Beaumont-Gay matthewbg at google.com
Wed Dec 21 22:21:32 PST 2011


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
>




More information about the cfe-dev mailing list