diff options
author | Michael J. Spencer <bigcheesegs@gmail.com> | 2010-12-25 20:10:11 +0000 |
---|---|---|
committer | Michael J. Spencer <bigcheesegs@gmail.com> | 2010-12-25 20:10:11 +0000 |
commit | e13f1ead9b708de8c8297901773cd5bd9328846e (patch) | |
tree | 4d4e7491afedda69ddc5cbd5bad51ac21d939193 /llvm/lib | |
parent | bc7fcc21916da0b30f3ace7b869295269b2fc0ec (diff) | |
download | bcm5719-llvm-e13f1ead9b708de8c8297901773cd5bd9328846e.tar.gz bcm5719-llvm-e13f1ead9b708de8c8297901773cd5bd9328846e.zip |
Support/PathV1: Deprecate makeAbsolute and remove Unix impl because it annoys people.
llvm-svn: 122553
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/Support/Unix/Path.inc | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/llvm/lib/Support/Unix/Path.inc b/llvm/lib/Support/Unix/Path.inc index dccf9010ab5..b21245c8207 100644 --- a/llvm/lib/Support/Unix/Path.inc +++ b/llvm/lib/Support/Unix/Path.inc @@ -119,18 +119,6 @@ Path::isAbsolute() const { return path[0] == '/'; } -void Path::makeAbsolute() { - if (isAbsolute()) - return; - - Path CWD = Path::GetCurrentDirectory(); - assert(CWD.isAbsolute() && "GetCurrentDirectory returned relative path!"); - - CWD.appendComponent(path); - - path = CWD.str(); -} - Path Path::GetRootDirectory() { Path result; |