forked from OSchip/llvm-project
Avoid the first person in a recently added comment.
llvm-svn: 44843
This commit is contained in:
parent
3f1223cb06
commit
5cace62e66
|
@ -2303,8 +2303,8 @@ Sema::ExprResult Sema::ActOnInstanceMessage(
|
|||
if (ObjcImplementationDecl *ImpDecl =
|
||||
ObjcImplementations[ClassDecl->getIdentifier()])
|
||||
Method = ImpDecl->lookupInstanceMethod(Sel);
|
||||
// If we still haven't found a method, look in the global pool.
|
||||
// I am not fond of this behavior, however we conform to what gcc does.
|
||||
// If we still haven't found a method, look in the global pool. This
|
||||
// behavior isn't very desirable, however we need it for GCC compatibility.
|
||||
if (!Method)
|
||||
Method = InstanceMethodPool[Sel].Method;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue