From: Anna Zaks Date: Sat, 10 Sep 2011 00:12:23 +0000 (+0000) Subject: [analyzer] -analyze-function for ObjectiveC should check if any of the methods match... X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d1fe529b1a17a2422f28f1b938ee70453dc7199d;p=clang [analyzer] -analyze-function for ObjectiveC should check if any of the methods match the name (not only the first one). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@139439 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp b/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp index 4683a3a95f..69a87fbd21 100644 --- a/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp +++ b/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp @@ -222,7 +222,7 @@ void AnalysisConsumer::HandleDeclContextDecl(ASTContext &C, Decl *D) { if (!Opts.AnalyzeSpecificFunction.empty() && Opts.AnalyzeSpecificFunction != (*MI)->getSelector().getAsString()) - break; + continue; DisplayFunction(*MI); HandleCode(*MI); }