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:
Adrian Prantl
2017-12-05 16:37:10 -08:00
parent 18815fb78c
commit 97f9e4e367
4 changed files with 21 additions and 5 deletions

View File

@@ -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;
}