diff options
Diffstat (limited to 'contrib/llvm-project/llvm/lib/Support/Process.cpp')
| -rw-r--r-- | contrib/llvm-project/llvm/lib/Support/Process.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/llvm-project/llvm/lib/Support/Process.cpp b/contrib/llvm-project/llvm/lib/Support/Process.cpp index 30c64d3ed9ed..f81c13970d52 100644 --- a/contrib/llvm-project/llvm/lib/Support/Process.cpp +++ b/contrib/llvm-project/llvm/lib/Support/Process.cpp @@ -59,7 +59,7 @@ Process::FindInEnvPath(StringRef EnvName, StringRef FileName, SmallString<128> FilePath(Dir); path::append(FilePath, FileName); if (fs::exists(Twine(FilePath))) { - FoundPath = std::string(FilePath.str()); + FoundPath = std::string(FilePath); break; } } |
