aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/llvm/Support/PathV1.h4
-rw-r--r--lib/Support/Unix/Path.inc2
-rw-r--r--lib/Support/Windows/Path.inc2
3 files changed, 0 insertions, 8 deletions
diff --git a/include/llvm/Support/PathV1.h b/include/llvm/Support/PathV1.h
index 0ece0e6..3202451 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 fd7e069..8e31f4c 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 2f3dbba..ba13edc 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";
}