Lines Matching +refs:env +refs:Path
403 if (char *env = ::getenv("COMPILER_PATH")) { in BuildCompilation() local
404 StringRef CompilerPath = env; in BuildCompilation()
872 for (const std::string &Path : TC.getProgramPaths()) { in HandleImmediateArgs() local
875 llvm::outs() << Path; in HandleImmediateArgs()
883 for (const std::string &Path : TC.getFilePaths()) { in HandleImmediateArgs() local
887 if (Path[0] == '=') in HandleImmediateArgs()
888 llvm::outs() << sysroot << Path.substr(1); in HandleImmediateArgs()
890 llvm::outs() << Path; in HandleImmediateArgs()
1105 SmallString<64> Path(Value); in DiagnoseInputExistence() local
1107 if (!llvm::sys::path::is_absolute(Path)) { in DiagnoseInputExistence()
1110 Path.assign(Directory); in DiagnoseInputExistence()
1114 if (llvm::sys::fs::exists(Twine(Path))) in DiagnoseInputExistence()
1117 if (D.IsCLMode() && !llvm::sys::path::is_absolute(Twine(Path)) && in DiagnoseInputExistence()
1121 D.Diag(clang::diag::err_drv_no_such_file) << Path; in DiagnoseInputExistence()
2200 for (const auto &Path : List) { in GetProgramPath() local
2201 SmallString<128> P(Path); in GetProgramPath()
2217 SmallString<128> Path; in GetTemporaryPath() local
2218 std::error_code EC = llvm::sys::fs::createTemporaryFile(Prefix, Suffix, Path); in GetTemporaryPath()
2224 return Path.str(); in GetTemporaryPath()