File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -226,7 +226,8 @@ std::unordered_map<std::string, std::string> rewriteOutputsInPlace(
226
226
return remapping;
227
227
}
228
228
229
- void ensureNewPathsExist (const std::unordered_map<std::string, std::string>& remapping) {
229
+ void ensureDirectoriesForNewPathsExist (
230
+ const std::unordered_map<std::string, std::string>& remapping) {
230
231
for (auto & [_, newPath] : remapping) {
231
232
llvm::SmallString<PATH_MAX> filepath (newPath);
232
233
llvm::StringRef parent = llvm::sys::path::parent_path (filepath);
Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ int main(int argc, char** argv) {
71
71
72
72
auto remapping =
73
73
codeql::rewriteOutputsInPlace (configuration, configuration.patchedFrontendOptions );
74
- codeql::ensureNewPathsExist (remapping);
74
+ codeql::ensureDirectoriesForNewPathsExist (remapping);
75
75
codeql::storeRemappingForVFS (configuration, remapping);
76
76
77
77
std::vector<const char *> args;
You can’t perform that action at this time.
0 commit comments