diff options
| author | Steve Naroff <snaroff@apple.com> | 2008-12-18 15:50:41 +0000 |
|---|---|---|
| committer | Steve Naroff <snaroff@apple.com> | 2008-12-18 15:50:41 +0000 |
| commit | d96f7cca5f7874046047a3c3884ad84e31eb6e3a (patch) | |
| tree | aecc04036a56f31cf7f0e32641315e8677361ced /clang/lib | |
| parent | 8e0f6f272f2493f20cd069080ab745eabb4fc54a (diff) | |
| download | bcm5719-llvm-d96f7cca5f7874046047a3c3884ad84e31eb6e3a.tar.gz bcm5719-llvm-d96f7cca5f7874046047a3c3884ad84e31eb6e3a.zip | |
Fix http://llvm.org/bugs/show_bug.cgi?id=3189.
llvm-svn: 61202
Diffstat (limited to 'clang/lib')
| -rw-r--r-- | clang/lib/AST/DeclObjC.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/AST/DeclObjC.cpp b/clang/lib/AST/DeclObjC.cpp index ec8a1ff044b..6045fa20c13 100644 --- a/clang/lib/AST/DeclObjC.cpp +++ b/clang/lib/AST/DeclObjC.cpp @@ -858,7 +858,7 @@ ObjCMethodDecl *ObjCProtocolDecl::lookupInstanceMethod(Selector Sel) { return MethodDecl; for (protocol_iterator I = protocol_begin(), E = protocol_end(); I != E; ++I) - if ((MethodDecl = (*I)->getInstanceMethod(Sel))) + if ((MethodDecl = (*I)->lookupInstanceMethod(Sel))) return MethodDecl; return NULL; } @@ -872,7 +872,7 @@ ObjCMethodDecl *ObjCProtocolDecl::lookupClassMethod(Selector Sel) { return MethodDecl; for (protocol_iterator I = protocol_begin(), E = protocol_end(); I != E; ++I) - if ((MethodDecl = (*I)->getClassMethod(Sel))) + if ((MethodDecl = (*I)->lookupClassMethod(Sel))) return MethodDecl; return NULL; } |

