diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2013-06-25 14:32:45 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2013-06-25 14:32:45 +0000 |
commit | deeb5724b8e6dfb911bde7c4b5d4e2f10953f52b (patch) | |
tree | 48d5f782fb52aa7922a3b3b502fbec75c79ad9a9 | |
parent | f97c7fef52098bbd6a7ccc69657d112a36d77660 (diff) | |
download | external_llvm-deeb5724b8e6dfb911bde7c4b5d4e2f10953f52b.zip external_llvm-deeb5724b8e6dfb911bde7c4b5d4e2f10953f52b.tar.gz external_llvm-deeb5724b8e6dfb911bde7c4b5d4e2f10953f52b.tar.bz2 |
Remove sys::PathSeparator.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184852 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/llvm/Support/PathV1.h | 4 | ||||
-rw-r--r-- | lib/Support/Unix/Path.inc | 2 | ||||
-rw-r--r-- | lib/Support/Windows/Path.inc | 2 |
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"; } |