diff options
author | Ted Kremenek <kremenek@apple.com> | 2008-04-07 22:01:32 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2008-04-07 22:01:32 +0000 |
commit | 9b01cc0ede3bfef32ce46159670dedc3e9769a64 (patch) | |
tree | db65b3617c28ba9aa88c3f60781f477c516c97d2 /lib/System/Path.cpp | |
parent | cf55c8e221c1d31a361f99ee49078d261cdf431c (diff) |
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
Diffstat (limited to 'lib/System/Path.cpp')
-rw-r--r-- | lib/System/Path.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<Path>& 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 "."; |