Author: rsmith
Date: Thu Apr 23 14:36:34 2015
New Revision: 235631
URL: http://llvm.org/viewvc/llvm-project?rev=235631&view=rev
Log:
Fix build of lldb after clang r235614.
Modified:
lldb/trunk/source/Expression/ClangModulesDeclVendor.cpp
Modified: lldb/trunk/source/Expression/ClangModulesDeclVendor.cpp
URL:
http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Expression/ClangModulesDeclVendor.cpp?rev=235631&r1=235630&r2=235631&view=diff
==============================================================================
--- lldb/trunk/source/Expression/ClangModulesDeclVendor.cpp (original)
+++ lldb/trunk/source/Expression/ClangModulesDeclVendor.cpp Thu Apr 23 14:36:34
2015
@@ -486,12 +486,12 @@ ClangModulesDeclVendorImpl::ForEachMacro
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())
{
_______________________________________________
lldb-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits