OSDN Git Service

Remove sys::PathSeparator.
authorRafael Espindola <rafael.espindola@gmail.com>
Tue, 25 Jun 2013 14:32:45 +0000 (14:32 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Tue, 25 Jun 2013 14:32:45 +0000 (14:32 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184852 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Support/PathV1.h
lib/Support/Unix/Path.inc
lib/Support/Windows/Path.inc

index 0ece0e6..3202451 100644 (file)
@@ -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;
 }
 
 }
index fd7e069..8e31f4c 100644 (file)
@@ -81,8 +81,6 @@ inline bool lastIsSlash(const std::string& path) {
 namespace llvm {
 using namespace sys;
 
-const char sys::PathSeparator = ':';
-
 StringRef Path::GetEXESuffix() {
   return StringRef();
 }
index 2f3dbba..ba13edc 100644 (file)
@@ -42,8 +42,6 @@ static void FlipBackSlashes(std::string& s) {
 namespace llvm {
 namespace sys {
 
-const char PathSeparator = ';';
-
 StringRef Path::GetEXESuffix() {
   return "exe";
 }