Avoid the first person in a recently added comment.

llvm-svn: 44843
This commit is contained in:
Steve Naroff 2007-12-11 03:38:03 +00:00
parent 3f1223cb06
commit 5cace62e66
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}