mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-18 10:31:57 +00:00
80-col violations.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118045 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f5a95ce0d4
commit
0f2ec15b9e
@ -175,7 +175,8 @@ Path::isAbsolute(const char *NameStart, unsigned NameLen) {
|
||||
case 2:
|
||||
return NameStart[0] == '/';
|
||||
default:
|
||||
return (NameStart[0] == '/' || (NameStart[1] == ':' && NameStart[2] == '/')) ||
|
||||
return
|
||||
(NameStart[0] == '/' || (NameStart[1] == ':' && NameStart[2] == '/')) ||
|
||||
(NameStart[0] == '\\' || (NameStart[1] == ':' && NameStart[2] == '\\'));
|
||||
}
|
||||
}
|
||||
@ -641,7 +642,8 @@ Path::createDirectoryOnDisk(bool create_parents, std::string* ErrMsg) {
|
||||
pathname[len-1] = 0;
|
||||
if (!CreateDirectory(pathname, NULL) &&
|
||||
GetLastError() != ERROR_ALREADY_EXISTS) {
|
||||
return MakeErrMsg(ErrMsg, std::string(pathname) + ": Can't create directory: ");
|
||||
return MakeErrMsg(ErrMsg, std::string(pathname) +
|
||||
": Can't create directory: ");
|
||||
}
|
||||
}
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user