diff options
Diffstat (limited to 'lib/Support/Unix/Path.inc')
-rw-r--r-- | lib/Support/Unix/Path.inc | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/lib/Support/Unix/Path.inc b/lib/Support/Unix/Path.inc index dccf9010ab..b21245c820 100644 --- a/lib/Support/Unix/Path.inc +++ b/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; |