aboutsummaryrefslogtreecommitdiff
path: root/include/clang/Basic/FileManager.h
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@mac.com>2011-03-06 22:25:35 +0000
committerAnders Carlsson <andersca@mac.com>2011-03-06 22:25:35 +0000
commitaf036a6c25f540a9daf51e721485ae6d0e645bd8 (patch)
tree96ebbbf41589892282ed04a41ea823df106f354e /include/clang/Basic/FileManager.h
parent2553eaf4a6b9ca9ca59383287cdfef2a5c9fca83 (diff)
Convert FileManager::FixupRelativePath over to using PathV2.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@127133 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Basic/FileManager.h')
-rw-r--r--include/clang/Basic/FileManager.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/clang/Basic/FileManager.h b/include/clang/Basic/FileManager.h
index 563157fa8f..247e518ea8 100644
--- a/include/clang/Basic/FileManager.h
+++ b/include/clang/Basic/FileManager.h
@@ -197,10 +197,9 @@ public:
/// \brief If path is not absolute and FileSystemOptions set the working
/// directory, the path is modified to be relative to the given
/// working directory.
- static void FixupRelativePath(llvm::sys::Path &path,
+ static void FixupRelativePath(llvm::SmallVectorImpl<char> &path,
const FileSystemOptions &FSOpts);
-
/// \brief Produce an array mapping from the unique IDs assigned to each
/// file to the corresponding FileEntry pointer.
void GetUniqueIDMapping(