summaryrefslogtreecommitdiff
path: root/lib/Support
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Support')
-rw-r--r--lib/Support/Unix/Path.inc4
-rw-r--r--lib/Support/Windows/Path.inc4
2 files changed, 0 insertions, 8 deletions
diff --git a/lib/Support/Unix/Path.inc b/lib/Support/Unix/Path.inc
index 8e31f4cedf..63b0519371 100644
--- a/lib/Support/Unix/Path.inc
+++ b/lib/Support/Unix/Path.inc
@@ -81,10 +81,6 @@ inline bool lastIsSlash(const std::string& path) {
namespace llvm {
using namespace sys;
-StringRef Path::GetEXESuffix() {
- return StringRef();
-}
-
Path::Path(StringRef p)
: path(p) {}
diff --git a/lib/Support/Windows/Path.inc b/lib/Support/Windows/Path.inc
index ba13edc7c8..53767e7a15 100644
--- a/lib/Support/Windows/Path.inc
+++ b/lib/Support/Windows/Path.inc
@@ -42,10 +42,6 @@ static void FlipBackSlashes(std::string& s) {
namespace llvm {
namespace sys {
-StringRef Path::GetEXESuffix() {
- return "exe";
-}
-
Path::Path(llvm::StringRef p)
: path(p) {
FlipBackSlashes(path);