[Lldb-commits] [lldb] r236292 - Updated our use of clang::Preprocessor to reflect

Sean Callanan scallanan at apple.com
Thu Apr 30 17:19:44 PDT 2015


Author: spyffe
Date: Thu Apr 30 19:19:44 2015
New Revision: 236292

URL: http://llvm.org/viewvc/llvm-project?rev=236292&view=rev
Log:
Updated our use of clang::Preprocessor to reflect
a change in the API used to get macros.

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=236292&r1=236291&r2=236292&view=diff
==============================================================================
--- lldb/trunk/source/Expression/ClangModulesDeclVendor.cpp (original)
+++ lldb/trunk/source/Expression/ClangModulesDeclVendor.cpp Thu Apr 30 19:19:44 2015
@@ -446,7 +446,7 @@ ClangModulesDeclVendorImpl::ForEachMacro
         ssize_t found_priority = -1;
         clang::MacroInfo *info = nullptr;
         
-        for (clang::ModuleMacro *macro : m_compiler_instance->getPreprocessor().getMacroDefinition(ii).getModuleMacros())
+        for (clang::ModuleMacro *macro : m_compiler_instance->getPreprocessor().getLeafModuleMacros(ii))
         {
             clang::Module *module = macro->getOwningModule();
             





More information about the lldb-commits mailing list