commit | a518bb79b1854ad624e5223508813f9aaa77a547 | [log] [tgz] |
---|---|---|
author | Ted Kremenek <kremenek@apple.com> | Mon Apr 07 22:01:32 2008 +0000 |
committer | Ted Kremenek <kremenek@apple.com> | Mon Apr 07 22:01:32 2008 +0000 |
tree | e1217ca872827e6a88e8c28324a702f5b0fe5cfd | |
parent | e0680b7e7ab4a2a118c43012c8094f02044875cc [diff] [blame] |
Make getDirnameSep a static method (not part of Path's interface). llvm-svn: 49354
diff --git a/llvm/lib/System/Path.cpp b/llvm/lib/System/Path.cpp index 43c36d5..e8fd5f2 100644 --- a/llvm/lib/System/Path.cpp +++ b/llvm/lib/System/Path.cpp
@@ -196,7 +196,7 @@ 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 ".";