summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/Unix
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2013-06-12 14:47:33 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2013-06-12 14:47:33 +0000
commit87b03450eed53c91d03bc05a5fe9c11c2078ccf4 (patch)
tree4716e4d4ff4128d4fb036a680789d9076be6b582 /llvm/lib/Support/Unix
parent32d725b80aebe3b0dc6df3a7b55d94efb98665bb (diff)
downloadbcm5719-llvm-87b03450eed53c91d03bc05a5fe9c11c2078ccf4.tar.gz
bcm5719-llvm-87b03450eed53c91d03bc05a5fe9c11c2078ccf4.zip
Remove Path::isAbsolute().
llvm-svn: 183835
Diffstat (limited to 'llvm/lib/Support/Unix')
-rw-r--r--llvm/lib/Support/Unix/Path.inc7
1 files changed, 0 insertions, 7 deletions
diff --git a/llvm/lib/Support/Unix/Path.inc b/llvm/lib/Support/Unix/Path.inc
index f604a79849c..ea8a050accf 100644
--- a/llvm/lib/Support/Unix/Path.inc
+++ b/llvm/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)
OpenPOWER on IntegriCloud