[llvm] r184852 - Remove sys::PathSeparator.
Rafael Espindola
rafael.espindola at gmail.com
Tue Jun 25 07:32:46 PDT 2013
Author: rafael
Date: Tue Jun 25 09:32:45 2013
New Revision: 184852
URL: http://llvm.org/viewvc/llvm-project?rev=184852&view=rev
Log:
Remove sys::PathSeparator.
Modified:
llvm/trunk/include/llvm/Support/PathV1.h
llvm/trunk/lib/Support/Unix/Path.inc
llvm/trunk/lib/Support/Windows/Path.inc
Modified: llvm/trunk/include/llvm/Support/PathV1.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/PathV1.h?rev=184852&r1=184851&r2=184852&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Support/PathV1.h (original)
+++ llvm/trunk/include/llvm/Support/PathV1.h Tue Jun 25 09:32:45 2013
@@ -497,10 +497,6 @@ namespace sys {
/// @}
};
-
- /// This is the OS-specific path separator: a colon on Unix or a semicolon
- /// on Windows.
- extern const char PathSeparator;
}
}
Modified: llvm/trunk/lib/Support/Unix/Path.inc
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Support/Unix/Path.inc?rev=184852&r1=184851&r2=184852&view=diff
==============================================================================
--- llvm/trunk/lib/Support/Unix/Path.inc (original)
+++ llvm/trunk/lib/Support/Unix/Path.inc Tue Jun 25 09:32:45 2013
@@ -81,8 +81,6 @@ inline bool lastIsSlash(const std::strin
namespace llvm {
using namespace sys;
-const char sys::PathSeparator = ':';
-
StringRef Path::GetEXESuffix() {
return StringRef();
}
Modified: llvm/trunk/lib/Support/Windows/Path.inc
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Support/Windows/Path.inc?rev=184852&r1=184851&r2=184852&view=diff
==============================================================================
--- llvm/trunk/lib/Support/Windows/Path.inc (original)
+++ llvm/trunk/lib/Support/Windows/Path.inc Tue Jun 25 09:32:45 2013
@@ -42,8 +42,6 @@ static void FlipBackSlashes(std::string&
namespace llvm {
namespace sys {
-const char PathSeparator = ';';
-
StringRef Path::GetEXESuffix() {
return "exe";
}
More information about the llvm-commits
mailing list