diff options
Diffstat (limited to 'llvm/lib/Support/VirtualFileSystem.cpp')
-rw-r--r-- | llvm/lib/Support/VirtualFileSystem.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/VirtualFileSystem.cpp b/llvm/lib/Support/VirtualFileSystem.cpp index f728a6a..f400a7c 100644 --- a/llvm/lib/Support/VirtualFileSystem.cpp +++ b/llvm/lib/Support/VirtualFileSystem.cpp @@ -243,7 +243,7 @@ public: SmallString<128> PWD, RealPWD; if (llvm::sys::fs::current_path(PWD)) return; // Awful, but nothing to do here. - if (auto Err = llvm::sys::fs::real_path(PWD, RealPWD)) + if (llvm::sys::fs::real_path(PWD, RealPWD)) WD = {PWD, PWD}; else WD = {PWD, RealPWD}; |