[lldb] Fix build error after 7bca6f45
This commit is contained in:
parent
9792c804f6
commit
74113a4150
@ -329,8 +329,8 @@ bool ClangModulesDeclVendorImpl::AddModule(const SourceModule &module,
|
||||
|
||||
bool is_system = true;
|
||||
bool is_framework = false;
|
||||
auto dir =
|
||||
HS.getFileMgr().getDirectory(module.search_path.GetStringRef());
|
||||
auto dir = HS.getFileMgr().getOptionalDirectoryRef(
|
||||
module.search_path.GetStringRef());
|
||||
if (!dir)
|
||||
return error();
|
||||
auto file = HS.lookupModuleMapFile(*dir, is_framework);
|
||||
|
Loading…
x
Reference in New Issue
Block a user