aboutsummaryrefslogtreecommitdiff
path: root/lib/Support/Unix
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@apple.com>2011-12-12 17:58:31 +0000
committerChad Rosier <mcrosier@apple.com>2011-12-12 17:58:31 +0000
commit7ae606a2a891707ad2e184b0e3baac0dce1b6c0f (patch)
treef2c89890209da3b8055b491e9a1733a7eec601bd /lib/Support/Unix
parenta0c17a495b12debcb7f206993bbc6020e2e6e8df (diff)
Revert r146363 to allow buildbots to make forward progress.
Original commit message: Support/FileSystem: Implement canonicalize. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146378 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/Unix')
-rw-r--r--lib/Support/Unix/PathV2.inc7
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/Support/Unix/PathV2.inc b/lib/Support/Unix/PathV2.inc
index 2a21c1497f..272109d03d 100644
--- a/lib/Support/Unix/PathV2.inc
+++ b/lib/Support/Unix/PathV2.inc
@@ -431,13 +431,6 @@ rety_open_create:
return success;
}
-error_code canonicalize(const Twine &path, SmallVectorImpl<char> &result) {
- // Paths are already canonicalized on posix systems.
- assert(path::is_absolute(path) && "path must be absolute!");
- path.toVector(result);
- return success;
-}
-
error_code detail::directory_iterator_construct(detail::DirIterState &it,
StringRef path){
SmallString<128> path_null(path);