summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Support/Unix/Path.inc4
-rw-r--r--llvm/lib/Support/Windows/Path.inc4
2 files changed, 0 insertions, 8 deletions
diff --git a/llvm/lib/Support/Unix/Path.inc b/llvm/lib/Support/Unix/Path.inc
index 8e31f4cedf4..63b05193716 100644
--- a/llvm/lib/Support/Unix/Path.inc
+++ b/llvm/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/llvm/lib/Support/Windows/Path.inc b/llvm/lib/Support/Windows/Path.inc
index ba13edc7c81..53767e7a15c 100644
--- a/llvm/lib/Support/Windows/Path.inc
+++ b/llvm/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);
OpenPOWER on IntegriCloud