forked from OSchip/llvm-project
Fix a pasto in the lookup of instance methods in the global pool
llvm-svn: 69996
This commit is contained in:
parent
6525578397
commit
9a1899ba42
|
@ -1155,8 +1155,8 @@ ObjCMethodDecl *Sema::LookupInstanceMethodInGlobalPool(Selector Sel,
|
|||
SourceRange R) {
|
||||
llvm::DenseMap<Selector, ObjCMethodList>::iterator Pos
|
||||
= InstanceMethodPool.find(Sel);
|
||||
if (Pos == InstanceMethodPool.end() && !FactoryMethodPool.count(Sel)) {
|
||||
if (ExternalSource)
|
||||
if (Pos == InstanceMethodPool.end()) {
|
||||
if (ExternalSource && !FactoryMethodPool.count(Sel))
|
||||
Pos = ReadMethodPool(Sel, /*isInstance=*/true);
|
||||
else
|
||||
return 0;
|
||||
|
|
Loading…
Reference in New Issue