Revert "[VFS] Use original path when falling back to external FS"
authorKeith Smiley <keithbsmiley@gmail.com>
Sat, 13 Nov 2021 18:11:25 +0000 (10:11 -0800)
committerKeith Smiley <keithbsmiley@gmail.com>
Sat, 13 Nov 2021 18:11:51 +0000 (10:11 -0800)
commitf0cf544d6f6fe6cbca4c07772998272d6bb433d8
tree001b69717097df2c8a0939a7d49d19ea2c0f120b
parentb19e823ff9de52f08bb2d35b91305b3c2d3dd0be
Revert "[VFS] Use original path when falling back to external FS"

```
/work/omp-vega20-0/openmp-offload-amdgpu-runtime/llvm.src/llvm/lib/Support/VirtualFileSystem.cpp: In static member function 'static llvm::ErrorOr<std::unique_ptr<llvm::vfs::File> > llvm::vfs::File::getWithPath(llvm::ErrorOr<std::unique_ptr<llvm::vfs::File> >, const llvm::Twine&)':
/work/omp-vega20-0/openmp-offload-amdgpu-runtime/llvm.src/llvm/lib/Support/VirtualFileSystem.cpp:2084:10: error: could not convert 'F' from 'std::unique_ptr<llvm::vfs::File>' to 'llvm::ErrorOr<std::unique_ptr<llvm::vfs::File> >'
   return F;
          ^
```

This reverts commit c972175649f4bb50d40d911659a04d5620ce6fe0.
clang/test/VFS/relative-path-errors.c [deleted file]
llvm/include/llvm/Support/VirtualFileSystem.h
llvm/lib/Support/VirtualFileSystem.cpp
llvm/unittests/Support/VirtualFileSystemTest.cpp