From fc19988bcbe6cfbe4668c50cd9689a711cc26cdd Mon Sep 17 00:00:00 2001 From: Argyrios Kyrtzidis Date: Sun, 15 Jun 2008 15:15:19 +0000 Subject: Fix the sys::Path::getSuffix() implementation. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52288 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/System/Path.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'lib/System/Path.cpp') diff --git a/lib/System/Path.cpp b/lib/System/Path.cpp index 03cdbf7764..af400e95e3 100644 --- a/lib/System/Path.cpp +++ b/lib/System/Path.cpp @@ -185,11 +185,6 @@ bool Path::hasMagicNumber(const std::string &Magic) const { return false; } -std::string -Path::getSuffix() const { - return path.substr(path.rfind('.') + 1); -} - static void getPathList(const char*path, std::vector& Paths) { const char* at = path; const char* delim = strchr(at, PathSeparator); -- cgit v1.2.3