diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2009-07-21 00:06:04 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2009-07-21 00:06:04 +0000 |
commit | 43cee935ae6ccef48852ba52f581edb20a386c49 (patch) | |
tree | c8da9976e1783c9afed8468166b62359acceaf8f /clang/lib/Sema/SemaLookup.cpp | |
parent | 6d9fab76195c28da35ed93ac848f4bc21b0872a2 (diff) | |
download | bcm5719-llvm-43cee935ae6ccef48852ba52f581edb20a386c49.tar.gz bcm5719-llvm-43cee935ae6ccef48852ba52f581edb20a386c49.zip |
Remove Sema::LookupObjCImplementation and replace it with just calling ObjCInterfaceDecl::getImplementation().
llvm-svn: 76509
Diffstat (limited to 'clang/lib/Sema/SemaLookup.cpp')
-rw-r--r-- | clang/lib/Sema/SemaLookup.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/clang/lib/Sema/SemaLookup.cpp b/clang/lib/Sema/SemaLookup.cpp index d9dea66f825..57656ce8afe 100644 --- a/clang/lib/Sema/SemaLookup.cpp +++ b/clang/lib/Sema/SemaLookup.cpp @@ -1671,13 +1671,6 @@ ObjCProtocolDecl *Sema::LookupProtocol(IdentifierInfo *II) { return cast_or_null<ObjCProtocolDecl>(D); } -/// \brief Find the Objective-C implementation with the given name, if -/// any. -ObjCImplementationDecl *Sema::LookupObjCImplementation(IdentifierInfo *II) { - Decl *D = LookupName(TUScope, II, LookupObjCImplementationName).getAsDecl(); - return cast_or_null<ObjCImplementationDecl>(D); -} - /// \brief Find the Objective-C category implementation with the given /// name, if any. ObjCCategoryImplDecl *Sema::LookupObjCCategoryImpl(IdentifierInfo *II) { |