diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2015-04-23 19:36:34 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2015-04-23 19:36:34 +0000 |
commit | 6d48859b18938e1e72f28999cf2d6e9ce55cc955 (patch) | |
tree | db46bc3ed0b4e0c8c306f54d6c5e63375a25845b | |
parent | db04590717cfaa352c86e9046aaa343185f80d7a (diff) | |
download | bcm5719-llvm-6d48859b18938e1e72f28999cf2d6e9ce55cc955.tar.gz bcm5719-llvm-6d48859b18938e1e72f28999cf2d6e9ce55cc955.zip |
Fix build of lldb after clang r235614.
llvm-svn: 235631
-rw-r--r-- | lldb/source/Expression/ClangModulesDeclVendor.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Expression/ClangModulesDeclVendor.cpp b/lldb/source/Expression/ClangModulesDeclVendor.cpp index b4dd73b6e2f..9269bec7b5f 100644 --- a/lldb/source/Expression/ClangModulesDeclVendor.cpp +++ b/lldb/source/Expression/ClangModulesDeclVendor.cpp @@ -486,12 +486,12 @@ ClangModulesDeclVendorImpl::ForEachMacro(const ClangModulesDeclVendor::ModuleVec continue; } - if (mi->second->getKind() == clang::MacroDirective::MD_Define) + if (mi->second.getLatest()->getKind() == clang::MacroDirective::MD_Define) { std::string macro_expansion = "#define "; macro_expansion.append(mi->first->getName().str().c_str()); - if (clang::MacroInfo *macro_info = mi->second->getMacroInfo()) + if (clang::MacroInfo *macro_info = mi->second.getLatest()->getMacroInfo()) { if (macro_info->isFunctionLike()) { |