revert rL346478

Summary:

Reviewers:

Subscribers:

llvm-svn: 346502
This commit is contained in:
Kadir Cetinkaya 2018-11-09 15:18:02 +00:00
parent d5199e39c0
commit f3cae3ab4c
1 changed files with 2 additions and 2 deletions

View File

@ -69,8 +69,8 @@ public:
return std::error_code();
}
// Map any symlink to "/symlink".
std::error_code getRealPath(const Twine &Path, SmallVectorImpl<char> &Output,
bool ExpandTilde = false) 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);