diff options
author | Mike Aizatsky <aizatsky@chromium.org> | 2015-11-09 19:12:18 +0000 |
---|---|---|
committer | Mike Aizatsky <aizatsky@chromium.org> | 2015-11-09 19:12:18 +0000 |
commit | aeb9dd92d5d0f38eb031aa8498ebe269fb8bfbe7 (patch) | |
tree | f07befb2fc4cd0bb21724a78cbb6eb7bb23184ca /clang/lib/Serialization/ASTWriter.cpp | |
parent | 1a1effc72b750b9e3d4ec370d06523f27319a4a3 (diff) | |
download | bcm5719-llvm-aeb9dd92d5d0f38eb031aa8498ebe269fb8bfbe7.tar.gz bcm5719-llvm-aeb9dd92d5d0f38eb031aa8498ebe269fb8bfbe7.zip |
Moving FileManager::removeDotPaths to llvm::sys::path::remove_dots
Differential Revision: http://reviews.llvm.org/D14394
llvm-svn: 252501
Diffstat (limited to 'clang/lib/Serialization/ASTWriter.cpp')
-rw-r--r-- | clang/lib/Serialization/ASTWriter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Serialization/ASTWriter.cpp b/clang/lib/Serialization/ASTWriter.cpp index 8fc32eaaa93..5508b6eceac 100644 --- a/clang/lib/Serialization/ASTWriter.cpp +++ b/clang/lib/Serialization/ASTWriter.cpp @@ -1112,7 +1112,7 @@ void ASTWriter::WriteBlockInfoBlock() { static bool cleanPathForOutput(FileManager &FileMgr, SmallVectorImpl<char> &Path) { bool Changed = FileMgr.makeAbsolutePath(Path); - return Changed | FileMgr.removeDotPaths(Path); + return Changed | llvm::sys::path::remove_dots(Path); } /// \brief Adjusts the given filename to only write out the portion of the |