mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Merge remote-tracking branch 'origin/main' into rebranch
This commit is contained in:
@@ -153,15 +153,15 @@ void ClangImporter::recordModuleDependencies(
|
||||
// We are using Swift frontend mode.
|
||||
swiftArgs.push_back("-frontend");
|
||||
|
||||
// We pass the entire argument list via -Xcc, so the invocation should
|
||||
// use extra clang options alone.
|
||||
swiftArgs.push_back("-only-use-extra-clang-opts");
|
||||
|
||||
// Swift frontend action: -emit-pcm
|
||||
swiftArgs.push_back("-emit-pcm");
|
||||
swiftArgs.push_back("-module-name");
|
||||
swiftArgs.push_back(clangModuleDep.ID.ModuleName);
|
||||
|
||||
// We pass the entire argument list via -Xcc, so the invocation should
|
||||
// use extra clang options alone.
|
||||
swiftArgs.push_back("-only-use-extra-clang-opts");
|
||||
|
||||
auto pcmPath = moduleCacheRelativeLookupModuleOutput(
|
||||
clangModuleDep.ID, ModuleOutputKind::ModuleFile,
|
||||
getModuleCachePathFromClang(getClangInstance()));
|
||||
|
||||
Reference in New Issue
Block a user