Skip to content

Commit d636b88

Browse files
committed
Adapt lldb to a40db55
The bots just told me about a place in LLDB I missed in a40db55 when changing `HeaderSearch::LoadedModuleMaps`, but I think this will fix it.
1 parent b61f288 commit d636b88

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -278,10 +278,10 @@ bool ClangModulesDeclVendorImpl::AddModule(const SourceModule &module,
278278
HS.getFileMgr().getDirectory(module.search_path.GetStringRef());
279279
if (!dir)
280280
return error();
281-
auto *file = HS.lookupModuleMapFile(*dir, is_framework);
281+
auto file = HS.lookupModuleMapFile(*dir, is_framework);
282282
if (!file)
283283
return error();
284-
if (!HS.loadModuleMapFile(file, is_system))
284+
if (!HS.loadModuleMapFile(*file, is_system))
285285
return error();
286286
}
287287
}

0 commit comments

Comments
 (0)