aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-07-12 04:39:07 +0000
committerChris Lattner <sabre@nondot.org>2010-07-12 04:39:07 +0000
commita6c04ee4c89111755f84e2a57d5864f3e289d07a (patch)
treed1dae0e58a1594efdb2aa9fb542602132dd7d917 /lib
parent5a717a3ae77e66bcd092de04da156030bd18a9ce (diff)
Path::isRootDirectory is unimplemented on Unix and not used,
remove it, fixing PR6909. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108125 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/System/Win32/Path.inc6
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/System/Win32/Path.inc b/lib/System/Win32/Path.inc
index 5a0052f3cb..379527d4eb 100644
--- a/lib/System/Win32/Path.inc
+++ b/lib/System/Win32/Path.inc
@@ -281,12 +281,6 @@ Path Path::GetMainExecutable(const char *argv0, void *MainAddr) {
// FIXME: the above set of functions don't map to Windows very well.
-bool
-Path::isRootDirectory() const {
- size_t len = path.size();
- return len > 0 && path[len-1] == '/';
-}
-
StringRef Path::getDirname() const {
return getDirnameCharSep(path, "/");
}