summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit531042840d376087b01475ec1a61d26329c471a7 (patch)
treebeaadfd8e3bf99ba8e81e20270b28e8503a22338 /llvm/lib/Support/Unix
parent735cb8bcdcb8dac5ea92ccf13bb16e9dc02caf62 (diff)
downloadbcm5719-llvm-531042840d376087b01475ec1a61d26329c471a7.tar.gz
bcm5719-llvm-531042840d376087b01475ec1a61d26329c471a7.zip
Revert r146363 to allow buildbots to make forward progress.
Original commit message: Support/FileSystem: Implement canonicalize. llvm-svn: 146378
Diffstat (limited to 'llvm/lib/Support/Unix')
-rw-r--r--llvm/lib/Support/Unix/PathV2.inc7
1 files changed, 0 insertions, 7 deletions
diff --git a/llvm/lib/Support/Unix/PathV2.inc b/llvm/lib/Support/Unix/PathV2.inc
index 2a21c1497fd..272109d03d7 100644
--- a/llvm/lib/Support/Unix/PathV2.inc
+++ b/llvm/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);
OpenPOWER on IntegriCloud