Don't issue warning on multiple selector found when
selector name is for a @selector expression.
llvm-svn: 79776
diff --git a/clang/lib/Sema/Sema.h b/clang/lib/Sema/Sema.h
index 3e0eae5..5feee65 100644
--- a/clang/lib/Sema/Sema.h
+++ b/clang/lib/Sema/Sema.h
@@ -1355,7 +1355,8 @@
/// LookupInstanceMethodInGlobalPool - Returns the method and warns if
/// there are multiple signatures.
- ObjCMethodDecl *LookupInstanceMethodInGlobalPool(Selector Sel, SourceRange R);
+ ObjCMethodDecl *LookupInstanceMethodInGlobalPool(Selector Sel, SourceRange R,
+ bool warn=true);
/// LookupFactoryMethodInGlobalPool - Returns the method and warns if
/// there are multiple signatures.