mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Don't pass -Werror to ClangImporter's clang when Swift is used from within LLDB.
This works a around search path problems caused by a module existing in both the build/install directory and the source directory. <rdar://problem/35714074>
This commit is contained in:
@@ -1234,6 +1234,7 @@ static bool ParseClangImporterArgs(ClangImporterOptions &Opts,
|
||||
Opts.PCHDisableValidation |= Args.hasArg(OPT_pch_disable_validation);
|
||||
}
|
||||
|
||||
Opts.DebuggerSupport |= Args.hasArg(OPT_debugger_support);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user