llvm.org GIT mirror llvm / ecc9b5e
Fix a minor bug in fs::create_directories. Patch by Albert Wong. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139928 91177308-0d34-0410-b5e6-96231b3b80d8 Eli Friedman 8 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
655655 if (error_code ec = fs::exists(parent, parent_exists)) return ec;
656656
657657 if (!parent_exists)
658 return create_directories(parent, existed);
658 if (error_code ec = create_directories(parent, existed)) return ec;
659659
660660 return create_directory(p, existed);
661661 }