mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-24 22:24:54 +00:00
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
This commit is contained in:
@@ -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, "/");
|
||||
}
|
||||
|
Reference in New Issue
Block a user