From fdff8cf0e04b3b169bfb6a48f2342ce0c1931610 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 12 Jul 2010 04:39:07 +0000 Subject: 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 --- lib/System/Win32/Path.inc | 6 ------ 1 file changed, 6 deletions(-) (limited to 'lib/System') diff --git a/lib/System/Win32/Path.inc b/lib/System/Win32/Path.inc index 5a0052f..379527d 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, "/"); } -- cgit v1.1