diff options
| author | Sam McCall <sam.mccall@gmail.com> | 2018-11-09 15:11:34 +0000 |
|---|---|---|
| committer | Sam McCall <sam.mccall@gmail.com> | 2018-11-09 15:11:34 +0000 |
| commit | 99538e89a9dffce36ee4f73728039cb741df5f08 (patch) | |
| tree | 5f67d4505a2092168cb4682d273f0e0459878b55 /llvm/unittests | |
| parent | 2804f32ec4609c98d4cfa56065c7bc2dd3dabcb3 (diff) | |
| download | bcm5719-llvm-99538e89a9dffce36ee4f73728039cb741df5f08.tar.gz bcm5719-llvm-99538e89a9dffce36ee4f73728039cb741df5f08.zip | |
Revert "[VFS] Add "expand tilde" argument to getRealPath."
This reverts commit r346453.
This is a complex change to a widely-used interface, and was not reviewed.
llvm-svn: 346500
Diffstat (limited to 'llvm/unittests')
| -rw-r--r-- | llvm/unittests/Support/VirtualFileSystemTest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/unittests/Support/VirtualFileSystemTest.cpp b/llvm/unittests/Support/VirtualFileSystemTest.cpp index 3bbb5089c99..466cd117a50 100644 --- a/llvm/unittests/Support/VirtualFileSystemTest.cpp +++ b/llvm/unittests/Support/VirtualFileSystemTest.cpp @@ -73,8 +73,8 @@ public: return std::error_code(); } // Map any symlink to "/symlink". - std::error_code getRealPath(const Twine &Path, SmallVectorImpl<char> &Output, - bool ExpandTilde) const override { + std::error_code getRealPath(const Twine &Path, + SmallVectorImpl<char> &Output) const override { auto I = FilesAndDirs.find(Path.str()); if (I == FilesAndDirs.end()) return make_error_code(llvm::errc::no_such_file_or_directory); |

