From: Rafael Espindola Date: Tue, 25 Jun 2013 14:32:45 +0000 (+0000) Subject: Remove sys::PathSeparator. X-Git-Tag: android-x86-6.0-r1~146^2~1454 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=deeb5724b8e6dfb911bde7c4b5d4e2f10953f52b;p=android-x86%2Fexternal-llvm.git Remove sys::PathSeparator. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184852 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Support/PathV1.h b/include/llvm/Support/PathV1.h index 0ece0e6bcdf..32024514676 100644 --- a/include/llvm/Support/PathV1.h +++ b/include/llvm/Support/PathV1.h @@ -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; } } diff --git a/lib/Support/Unix/Path.inc b/lib/Support/Unix/Path.inc index fd7e069eea5..8e31f4cedf4 100644 --- a/lib/Support/Unix/Path.inc +++ b/lib/Support/Unix/Path.inc @@ -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(); } diff --git a/lib/Support/Windows/Path.inc b/lib/Support/Windows/Path.inc index 2f3dbba6454..ba13edc7c81 100644 --- a/lib/Support/Windows/Path.inc +++ b/lib/Support/Windows/Path.inc @@ -42,8 +42,6 @@ static void FlipBackSlashes(std::string& s) { namespace llvm { namespace sys { -const char PathSeparator = ';'; - StringRef Path::GetEXESuffix() { return "exe"; }