diff options
| author | Chris Lattner <sabre@nondot.org> | 2010-07-12 04:39:07 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2010-07-12 04:39:07 +0000 |
| commit | d83984f62319c0f4eb3be473e36079700fb76538 (patch) | |
| tree | 9d559390e680e14827e4ba7c94d540a32ebe7df0 /llvm/lib/System | |
| parent | 5a503e9f7068c528ac846d016c6c80aad640ae04 (diff) | |
| download | bcm5719-llvm-d83984f62319c0f4eb3be473e36079700fb76538.tar.gz bcm5719-llvm-d83984f62319c0f4eb3be473e36079700fb76538.zip | |
Path::isRootDirectory is unimplemented on Unix and not used,
remove it, fixing PR6909.
llvm-svn: 108125
Diffstat (limited to 'llvm/lib/System')
| -rw-r--r-- | llvm/lib/System/Win32/Path.inc | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/llvm/lib/System/Win32/Path.inc b/llvm/lib/System/Win32/Path.inc index 5a0052f3cb2..379527d4ebf 100644 --- a/llvm/lib/System/Win32/Path.inc +++ b/llvm/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, "/"); } |

