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:
@@ -40,8 +40,9 @@ using namespace clang::tooling::dependencies;
|
||||
static void addScannerPrefixMapperInvocationArguments(
|
||||
std::vector<std::string> &invocationArgStrs, ASTContext &ctx) {
|
||||
for (const auto &arg : ctx.SearchPathOpts.ScannerPrefixMapper) {
|
||||
std::string prefixMapArg = "-fdepscan-prefix-map=" + arg;
|
||||
invocationArgStrs.push_back(prefixMapArg);
|
||||
invocationArgStrs.push_back("-fdepscan-prefix-map");
|
||||
invocationArgStrs.push_back(arg.first);
|
||||
invocationArgStrs.push_back(arg.second);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user