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 1f8563a..367e794d 100644 --- a/llvm/lib/Support/VirtualFileSystem.cpp +++ b/llvm/lib/Support/VirtualFileSystem.cpp @@ -1385,7 +1385,7 @@ RedirectingFileSystem::makeAbsolute(StringRef WorkingDir, std::string Result = std::string(WorkingDir); StringRef Dir(Result); - if (!Dir.endswith(sys::path::get_separator(style))) { + if (!Dir.ends_with(sys::path::get_separator(style))) { Result += sys::path::get_separator(style); } // backslashes '\' are legit path charactors under POSIX. Windows APIs |