summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/Unix
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2013-06-12 15:02:39 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2013-06-12 15:02:39 +0000
commitaf93517dde739395b09d745d833224a5a32f1a5f (patch)
treec348b91763d9f4a0588499411d02346dbbdcac8d /llvm/lib/Support/Unix
parent87b03450eed53c91d03bc05a5fe9c11c2078ccf4 (diff)
downloadbcm5719-llvm-af93517dde739395b09d745d833224a5a32f1a5f.tar.gz
bcm5719-llvm-af93517dde739395b09d745d833224a5a32f1a5f.zip
Remove Path::isAbsolute.
llvm-svn: 183836
Diffstat (limited to 'llvm/lib/Support/Unix')
-rw-r--r--llvm/lib/Support/Unix/Path.inc8
1 files changed, 0 insertions, 8 deletions
diff --git a/llvm/lib/Support/Unix/Path.inc b/llvm/lib/Support/Unix/Path.inc
index ea8a050accf..ecdc2abe3a8 100644
--- a/llvm/lib/Support/Unix/Path.inc
+++ b/llvm/lib/Support/Unix/Path.inc
@@ -109,14 +109,6 @@ Path::isValid() const {
return !path.empty();
}
-bool
-Path::isAbsolute(const char *NameStart, unsigned NameLen) {
- assert(NameStart);
- if (NameLen == 0)
- return false;
- return NameStart[0] == '/';
-}
-
Path
Path::GetTemporaryDirectory(std::string *ErrMsg) {
#if defined(HAVE_MKDTEMP)
OpenPOWER on IntegriCloud