diff options
Diffstat (limited to 'clang/Sema/SemaExpr.cpp')
| -rw-r--r-- | clang/Sema/SemaExpr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/Sema/SemaExpr.cpp b/clang/Sema/SemaExpr.cpp index bf5d71fd080..53049c6dec9 100644 --- a/clang/Sema/SemaExpr.cpp +++ b/clang/Sema/SemaExpr.cpp @@ -2341,7 +2341,7 @@ Sema::ExprResult Sema::ActOnInstanceMessage( // If we have an implementation in scope, check "private" methods. if (ObjcImplementationDecl *ImpDecl = ObjcImplementations[ClassDecl->getIdentifier()]) - Method = ImpDecl->lookupInstanceMethod(Sel); + Method = ImpDecl->getInstanceMethod(Sel); // 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) |

