mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-21 08:17:40 +00:00
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
This commit is contained in:
+1
-1
@@ -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 ".";
|
||||
|
||||
Reference in New Issue
Block a user