mirror of
https://github.com/github/codeql.git
synced 2026-04-27 09:45:15 +02:00
Update swift/extractor/SwiftOutputRewrite.cpp
Co-authored-by: Paolo Tranquilli <redsun82@github.com>
This commit is contained in:
@@ -225,7 +225,7 @@ std::unordered_map<std::string, std::string> rewriteOutputsInPlace(
|
||||
}
|
||||
|
||||
// This doesn't really belong here, but we've got Xcode...
|
||||
for (auto& [oldPath, newPath] : remapping) {
|
||||
for (const auto& [oldPath, newPath] : remapping) {
|
||||
llvm::StringRef path(oldPath);
|
||||
auto aliases = computeModuleAliases(path, targetTriple);
|
||||
for (auto& alias : aliases) {
|
||||
|
||||
Reference in New Issue
Block a user