From 9b01cc0ede3bfef32ce46159670dedc3e9769a64 Mon Sep 17 00:00:00 2001 From: Ted Kremenek Date: Mon, 7 Apr 2008 22:01:32 +0000 Subject: Make getDirnameSep a static method (not part of Path's interface). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49354 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/System/Path.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/System/Path.cpp') diff --git a/lib/System/Path.cpp b/lib/System/Path.cpp index 43c36d5e09..e8fd5f2963 100644 --- a/lib/System/Path.cpp +++ b/lib/System/Path.cpp @@ -196,7 +196,7 @@ static void getPathList(const char*path, std::vector& Paths) { Paths.push_back(tmpPath); } -std::string Path::getDirnameCharSep(char Sep) const { +static std::string getDirnameCharSep(const std::string& path, char Sep) { if (path.empty()) return "."; -- cgit v1.2.3-70-g09d2