commit | f5a95ce0d42ddfac8a5a14701188e94ce5dc282f | [log] [tgz] |
---|---|---|
author | Mikhail Glushenkov <foldr@codedgers.com> | Tue Nov 02 20:32:26 2010 +0000 |
committer | Mikhail Glushenkov <foldr@codedgers.com> | Tue Nov 02 20:32:26 2010 +0000 |
tree | 1d7feff6996c3d403efbce512ccaa18daefe1cd6 | |
parent | 46388526963aba92344ee8ebd9e86d3556baa088 [diff] [blame] |
Path: Add GetEXESuffix() to complement GetDLLSuffix(). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118042 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/System/Win32/Path.inc b/lib/System/Win32/Path.inc index 7e22751..a4d55a0 100644 --- a/lib/System/Win32/Path.inc +++ b/lib/System/Win32/Path.inc
@@ -45,8 +45,13 @@ namespace llvm { namespace sys { + const char PathSeparator = ';'; +StringRef Path::GetEXESuffix() { + return "exe"; +} + Path::Path(llvm::StringRef p) : path(p) { FlipBackSlashes(path);