[lldb] Fix build after Clang API change at rev 769d282d7292
authorJorge Gorbe Moya <jgorbe@google.com>
Tue, 30 May 2023 21:19:40 +0000 (14:19 -0700)
committerJorge Gorbe Moya <jgorbe@google.com>
Tue, 30 May 2023 21:21:21 +0000 (14:21 -0700)
lldb/source/Plugins/ExpressionParser/Clang/ClangModulesDeclVendor.cpp

index 7895fc6..0af5de4 100644 (file)
@@ -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();
     }
   }