File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -226,7 +226,8 @@ std::unordered_map<std::string, std::string> rewriteOutputsInPlace(
226226 return remapping;
227227}
228228
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) {
230231 for (auto & [_, newPath] : remapping) {
231232 llvm::SmallString<PATH_MAX> filepath (newPath);
232233 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) {
7171
7272 auto remapping =
7373 codeql::rewriteOutputsInPlace (configuration, configuration.patchedFrontendOptions );
74- codeql::ensureNewPathsExist (remapping);
74+ codeql::ensureDirectoriesForNewPathsExist (remapping);
7575 codeql::storeRemappingForVFS (configuration, remapping);
7676
7777 std::vector<const char *> args;
You can’t perform that action at this time.
0 commit comments