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 | 1949578de3a69064c320fc9b19e44316fa324031 (patch) | |
tree | 274118e65d92b8e94e446563b1eaf682588411d3 /unittests | |
parent | 72e06ac443f6e2d63c03e362656d2d48ab7a22cb (diff) |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@346500 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests')
-rw-r--r-- | unittests/Support/VirtualFileSystemTest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/unittests/Support/VirtualFileSystemTest.cpp b/unittests/Support/VirtualFileSystemTest.cpp index 3bbb5089c99..466cd117a50 100644 --- a/unittests/Support/VirtualFileSystemTest.cpp +++ b/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); |