summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/Unix
diff options
context:
space:
mode:
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