summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Support/FileSystem.h7
-rw-r--r--include/llvm/Support/PathV2.h9
2 files changed, 7 insertions, 9 deletions
diff --git a/include/llvm/Support/FileSystem.h b/include/llvm/Support/FileSystem.h
index ce4da7ea75..5b8e2eab8e 100644
--- a/include/llvm/Support/FileSystem.h
+++ b/include/llvm/Support/FileSystem.h
@@ -148,6 +148,13 @@ error_code create_hard_link(const Twine &to, const Twine &from);
/// otherwise a platform specific error_code.
error_code create_symlink(const Twine &to, const Twine &from);
+/// @brief Get the current path.
+///
+/// @param result Holds the current path on return.
+/// @results errc::success if the current path has been stored in result,
+/// otherwise a platform specific error_code.
+error_code current_path(SmallVectorImpl<char> &result);
+
/// @brief Remove path. Equivalent to POSIX remove().
///
/// @param path Input path.
diff --git a/include/llvm/Support/PathV2.h b/include/llvm/Support/PathV2.h
index 0f88d0bd47..e2b8751045 100644
--- a/include/llvm/Support/PathV2.h
+++ b/include/llvm/Support/PathV2.h
@@ -202,15 +202,6 @@ error_code native(const Twine &path, SmallVectorImpl<char> &result);
/// @name Lexical Observers
/// @{
-/// @brief Get the current path.
-///
-/// @param result Holds the current path on return.
-/// @results errc::success if the current path has been stored in result,
-/// otherwise a platform specific error_code.
-error_code current_path(SmallVectorImpl<char> &result);
-
-// The following are purely lexical.
-
/// @brief Get root name.
///
/// //net/hello => //net