diff options
author | Douglas Gregor <dgregor@apple.com> | 2011-02-09 23:33:15 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2011-02-09 23:33:15 +0000 |
commit | f3e3f21db19512067ee9f6b7b99eae16d907bed2 (patch) | |
tree | c7e1490e6c4c7d01cfc71fb6d640ae508d77bec6 /include/llvm/Support/PathV2.h | |
parent | 23cd57c29926189ad9d7b2b208024645870884ad (diff) | |
download | llvm-f3e3f21db19512067ee9f6b7b99eae16d907bed2.tar.gz llvm-f3e3f21db19512067ee9f6b7b99eae16d907bed2.tar.bz2 llvm-f3e3f21db19512067ee9f6b7b99eae16d907bed2.tar.xz |
Rip out realpath() support. It's expensive, and often a bad idea, and
I have another way to achieve the same goal.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125239 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Support/PathV2.h')
-rw-r--r-- | include/llvm/Support/PathV2.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/include/llvm/Support/PathV2.h b/include/llvm/Support/PathV2.h index 976fa6a7b2..3866e410e6 100644 --- a/include/llvm/Support/PathV2.h +++ b/include/llvm/Support/PathV2.h @@ -244,15 +244,6 @@ const StringRef filename(StringRef path); /// @result The stem of \a path. const StringRef stem(StringRef path); -/// Convert path to a canonical form, resolving symbolic links and removing -/// unnecessary path elements (e.g., "foo/../", "./"). -/// -/// @param path A path that is going to be canonicalized by resolving symlinks -/// and removing unnecessary path elements (e.g., "./"). -/// -/// @param buffer The resulting canonical path. -void canonical(const char *path, SmallVectorImpl<char> &result); - /// @brief Get extension. /// /// If filename contains a dot but not solely one or two dots, result is the |