[cfe-commits] r139439 - /cfe/trunk/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp
Anna Zaks
ganna at apple.com
Fri Sep 9 17:12:23 PDT 2011
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);
}
More information about the cfe-commits
mailing list