[cfe-commits] r139439 - /cfe/trunk/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp
Fariborz Jahanian
fjahanian at apple.com
Sat Sep 10 09:17:12 PDT 2011
Test please.
- Fariborz
On Sep 9, 2011, at 5:12 PM, Anna Zaks wrote:
> Author: zaks
> Date: Fri Sep 9 19:12:23 2011
> New Revision: 139439
>
> URL: http://llvm.org/viewvc/llvm-project?rev=139439&view=rev
> Log:
> [analyzer] -analyze-function for ObjectiveC should check if any of the methods match the name (not only the first one).
>
> Modified:
> cfe/trunk/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp
>
> Modified: cfe/trunk/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp
> URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp?rev=139439&r1=139438&r2=139439&view=diff
> ==============================================================================
> --- cfe/trunk/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp (original)
> +++ cfe/trunk/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp Fri Sep 9 19:12:23 2011
> @@ -222,7 +222,7 @@
> if (!Opts.AnalyzeSpecificFunction.empty() &&
> Opts.AnalyzeSpecificFunction !=
> (*MI)->getSelector().getAsString())
> - break;
> + continue;
> DisplayFunction(*MI);
> HandleCode(*MI);
> }
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
More information about the cfe-commits
mailing list