summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/ModuleDependencyCollector.cpp
diff options
context:
space:
mode:
authorMike Aizatsky <aizatsky@chromium.org>2015-11-09 19:12:18 +0000
committerMike Aizatsky <aizatsky@chromium.org>2015-11-09 19:12:18 +0000
commitaeb9dd92d5d0f38eb031aa8498ebe269fb8bfbe7 (patch)
treef07befb2fc4cd0bb21724a78cbb6eb7bb23184ca /clang/lib/Frontend/ModuleDependencyCollector.cpp
parent1a1effc72b750b9e3d4ec370d06523f27319a4a3 (diff)
downloadbcm5719-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/Frontend/ModuleDependencyCollector.cpp')
-rw-r--r--clang/lib/Frontend/ModuleDependencyCollector.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Frontend/ModuleDependencyCollector.cpp b/clang/lib/Frontend/ModuleDependencyCollector.cpp
index 78bb0279d90..9768a164acb 100644
--- a/clang/lib/Frontend/ModuleDependencyCollector.cpp
+++ b/clang/lib/Frontend/ModuleDependencyCollector.cpp
@@ -67,7 +67,7 @@ std::error_code ModuleDependencyListener::copyToRoot(StringRef Src) {
path::native(AbsoluteSrc);
// TODO: We probably need to handle .. as well as . in order to have valid
// input to the YAMLVFSWriter.
- FileManager::removeDotPaths(AbsoluteSrc);
+ path::remove_dots(AbsoluteSrc);
// Build the destination path.
SmallString<256> Dest = Collector.getDest();
OpenPOWER on IntegriCloud