diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2013-06-12 14:47:33 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2013-06-12 14:47:33 +0000 |
commit | 5475e2b01e8f69c398353736bf3afe9b40e01cf8 (patch) | |
tree | bfd1bc1e5b35c46d41de1e72cf30fc4a4a079c82 /lib/Support/Unix | |
parent | c1f4a4b2640dfc871bacacef53a95f1c96a9fe48 (diff) | |
download | llvm-5475e2b01e8f69c398353736bf3afe9b40e01cf8.tar.gz llvm-5475e2b01e8f69c398353736bf3afe9b40e01cf8.tar.bz2 llvm-5475e2b01e8f69c398353736bf3afe9b40e01cf8.tar.xz |
Remove Path::isAbsolute().
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183835 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/Unix')
-rw-r--r-- | lib/Support/Unix/Path.inc | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/Support/Unix/Path.inc b/lib/Support/Unix/Path.inc index f604a79849..ea8a050acc 100644 --- a/lib/Support/Unix/Path.inc +++ b/lib/Support/Unix/Path.inc @@ -117,13 +117,6 @@ Path::isAbsolute(const char *NameStart, unsigned NameLen) { return NameStart[0] == '/'; } -bool -Path::isAbsolute() const { - if (path.empty()) - return false; - return path[0] == '/'; -} - Path Path::GetTemporaryDirectory(std::string *ErrMsg) { #if defined(HAVE_MKDTEMP) |