summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/include/llvm/Support/PathV1.h4
-rw-r--r--llvm/lib/Support/Unix/Path.inc2
-rw-r--r--llvm/lib/Support/Windows/Path.inc2
3 files changed, 0 insertions, 8 deletions
diff --git a/llvm/include/llvm/Support/PathV1.h b/llvm/include/llvm/Support/PathV1.h
index 0ece0e6bcdf..32024514676 100644
--- a/llvm/include/llvm/Support/PathV1.h
+++ b/llvm/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/llvm/lib/Support/Unix/Path.inc b/llvm/lib/Support/Unix/Path.inc
index fd7e069eea5..8e31f4cedf4 100644
--- a/llvm/lib/Support/Unix/Path.inc
+++ b/llvm/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/llvm/lib/Support/Windows/Path.inc b/llvm/lib/Support/Windows/Path.inc
index 2f3dbba6454..ba13edc7c81 100644
--- a/llvm/lib/Support/Windows/Path.inc
+++ b/llvm/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";
}
OpenPOWER on IntegriCloud