summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCDeclVendor.cpp
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2015-02-21 04:31:13 +0000
committerChandler Carruth <chandlerc@gmail.com>2015-02-21 04:31:13 +0000
commit43edccdfe13dd4d0e61188b453a1faf9176680a3 (patch)
tree59d2a0e22a803d8ffe15f6a18182b9fd751362f4 /lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCDeclVendor.cpp
parent64cfdfea5a18472f766d668c30fac7534cddeda5 (diff)
downloadbcm5719-llvm-43edccdfe13dd4d0e61188b453a1faf9176680a3.tar.gz
bcm5719-llvm-43edccdfe13dd4d0e61188b453a1faf9176680a3.zip
Update for Clang API change in r230123 -- lookup_result was always
const, there was never a need for lookup_const_result. Now that vestigal type is gone, so switch LLDB to lookup_result and to use the DeclContextLookupResult rather than the Const variant. llvm-svn: 230126
Diffstat (limited to 'lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCDeclVendor.cpp')
-rw-r--r--lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCDeclVendor.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCDeclVendor.cpp b/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCDeclVendor.cpp
index e76e6128538..ee5e3183508 100644
--- a/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCDeclVendor.cpp
+++ b/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCDeclVendor.cpp
@@ -60,7 +60,7 @@ public:
if (!m_decl_vendor.FinishDecl(non_const_interface_decl))
break;
- clang::DeclContext::lookup_const_result result = non_const_interface_decl->lookup(name);
+ clang::DeclContext::lookup_result result = non_const_interface_decl->lookup(name);
return (result.size() != 0);
}
@@ -588,7 +588,7 @@ AppleObjCDeclVendor::FindDecls (const ConstString &name,
clang::IdentifierInfo &identifier_info = ast_ctx->Idents.get(name.GetStringRef());
clang::DeclarationName decl_name = ast_ctx->DeclarationNames.getIdentifier(&identifier_info);
- clang::DeclContext::lookup_const_result lookup_result = ast_ctx->getTranslationUnitDecl()->lookup(decl_name);
+ clang::DeclContext::lookup_result lookup_result = ast_ctx->getTranslationUnitDecl()->lookup(decl_name);
if (!lookup_result.empty())
{
OpenPOWER on IntegriCloud