mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-10 14:12:11 +00:00
Simplify.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118110 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
45c21ff044
commit
9e2e0c39e7
@ -692,8 +692,7 @@ Path::createDirectoryOnDisk( bool create_parents, std::string* ErrMsg ) {
|
||||
pathname[lastchar] = '\0';
|
||||
|
||||
if (createDirectoryHelper(&pathname[0], &pathname[lastchar], create_parents))
|
||||
return MakeErrMsg(ErrMsg,
|
||||
std::string(pathname) + ": can't create directory");
|
||||
return MakeErrMsg(ErrMsg, pathname + ": can't create directory");
|
||||
|
||||
return false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user