[Lldb-commits] [lldb] r243219 - Upgrade for Clang API change.
Benjamin Kramer
benny.kra at googlemail.com
Sat Jul 25 08:33:17 PDT 2015
Author: d0k
Date: Sat Jul 25 10:33:17 2015
New Revision: 243219
URL: http://llvm.org/viewvc/llvm-project?rev=243219&view=rev
Log:
Upgrade for Clang API change.
Modified:
lldb/trunk/source/Symbol/ClangASTType.cpp
Modified: lldb/trunk/source/Symbol/ClangASTType.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Symbol/ClangASTType.cpp?rev=243219&r1=243218&r2=243219&view=diff
==============================================================================
--- lldb/trunk/source/Symbol/ClangASTType.cpp (original)
+++ lldb/trunk/source/Symbol/ClangASTType.cpp Sat Jul 25 10:33:17 2015
@@ -4080,8 +4080,9 @@ ClangASTType::GetIndexOfChildMemberWithN
clang::DeclarationName decl_name(&ident_ref);
clang::CXXBasePaths paths;
- if (cxx_record_decl->lookupInBases(clang::CXXRecordDecl::FindOrdinaryMember,
- decl_name.getAsOpaquePtr(),
+ if (cxx_record_decl->lookupInBases([decl_name](const CXXBaseSpecifier *specifier, CXXBasePath &path) {
+ return clang::CXXRecordDecl::FindOrdinaryMember(specifier, path, decl_name);
+ },
paths))
{
clang::CXXBasePaths::const_paths_iterator path, path_end = paths.end();
More information about the lldb-commits
mailing list