diff options
Diffstat (limited to 'llvm/lib/System/Win32/Path.inc')
| -rw-r--r-- | llvm/lib/System/Win32/Path.inc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/System/Win32/Path.inc b/llvm/lib/System/Win32/Path.inc index da29cd3596c..35bae337da7 100644 --- a/llvm/lib/System/Win32/Path.inc +++ b/llvm/lib/System/Win32/Path.inc @@ -229,6 +229,8 @@ Path::isRootDirectory() const { return len > 0 && path[len-1] == '/'; } +std::string Path::getDirname() const { return getDirnameCharSep('\\'); } + std::string Path::getBasename() const { // Find the last slash |

