Lines Matching defs:WorkingDir
132 auto WorkingDir = getCurrentWorkingDirectory();
133 if (!WorkingDir)
134 return WorkingDir.getError();
136 llvm::sys::fs::make_absolute(WorkingDir.get(), Path);
264 /// the working dir as an llvm::sys::fs::WorkingDir or similar.
1392 auto WorkingDir = getCurrentWorkingDirectory();
1393 if (!WorkingDir)
1394 return WorkingDir.getError();
1396 return makeAbsolute(WorkingDir.get(), Path);
1400 RedirectingFileSystem::makeAbsolute(StringRef WorkingDir,
1403 // is native and there is no way to override that. Since we know WorkingDir
1406 if (!WorkingDir.empty() &&
1407 !sys::path::is_absolute(WorkingDir, sys::path::Style::posix) &&
1408 !sys::path::is_absolute(WorkingDir,
1413 if (sys::path::is_absolute(WorkingDir, sys::path::Style::posix)) {
1418 if (getExistingStyle(WorkingDir) != sys::path::Style::windows_backslash)
1422 std::string Result = std::string(WorkingDir);
1430 // `Path` should be directly appended to `WorkingDir` without converting