Fix build.
authorChaoren Lin <chaorenl@google.com>
Thu, 23 Apr 2015 22:19:29 +0000 (22:19 +0000)
committerChaoren Lin <chaorenl@google.com>
Thu, 23 Apr 2015 22:19:29 +0000 (22:19 +0000)
llvm-svn: 235653

lldb/source/Expression/ClangModulesDeclVendor.cpp

index 9269bec..b4316a9 100644 (file)
@@ -450,7 +450,7 @@ ClangModulesDeclVendorImpl::ForEachMacro(const ClangModulesDeclVendor::ModuleVec
              directive != nullptr;
              directive = directive->getPrevious())
         {
-            unsigned module_id = directive->getOwningModuleID();
+            unsigned module_id = directive->getMacroInfo()->getOwningModuleID();
             
             if (!module_id)
                 continue;