[Lldb-commits] [lldb] a79b0f9 - [lldb] Fix build after Clang API change at rev 769d282d7292

Jorge Gorbe Moya via lldb-commits lldb-commits at lists.llvm.org
Tue May 30 14:21:47 PDT 2023


Author: Jorge Gorbe Moya
Date: 2023-05-30T14:21:21-07:00
New Revision: a79b0f9f1d8275b023bcd2bf1763b148d088ad97

URL: https://github.com/llvm/llvm-project/commit/a79b0f9f1d8275b023bcd2bf1763b148d088ad97
DIFF: https://github.com/llvm/llvm-project/commit/a79b0f9f1d8275b023bcd2bf1763b148d088ad97.diff

LOG: [lldb] Fix build after Clang API change at rev 769d282d7292

Added: 
    

Modified: 
    lldb/source/Plugins/ExpressionParser/Clang/ClangModulesDeclVendor.cpp

Removed: 
    


################################################################################
diff  --git a/lldb/source/Plugins/ExpressionParser/Clang/ClangModulesDeclVendor.cpp b/lldb/source/Plugins/ExpressionParser/Clang/ClangModulesDeclVendor.cpp
index 7895fc6d59ef..0af5de4702df 100644
--- a/lldb/source/Plugins/ExpressionParser/Clang/ClangModulesDeclVendor.cpp
+++ b/lldb/source/Plugins/ExpressionParser/Clang/ClangModulesDeclVendor.cpp
@@ -336,7 +336,7 @@ bool ClangModulesDeclVendorImpl::AddModule(const SourceModule &module,
       auto file = HS.lookupModuleMapFile(*dir, is_framework);
       if (!file)
         return error();
-      if (!HS.loadModuleMapFile(file, is_system))
+      if (!HS.loadModuleMapFile(*file, is_system))
         return error();
     }
   }


        


More information about the lldb-commits mailing list