File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -267,7 +267,8 @@ static llvm::Error handleMappingFailures(llvm::Error Err) {
267
267
268
268
static llvm::Error createDirectories (llvm::StringRef OutDirectory) {
269
269
if (std::error_code Err = llvm::sys::fs::create_directories (OutDirectory))
270
- return llvm::createFileError (OutDirectory, Err);
270
+ return llvm::createFileError (OutDirectory, Err,
271
+ " failed to create directory." );
271
272
return llvm::Error::success ();
272
273
}
273
274
Original file line number Diff line number Diff line change 2
2
// RUN: rm -rf %t && touch %t
3
3
// RUN: not clang-doc %s -output=%t/subdir 2>&1 | FileCheck %s --check-prefix=OUTPUT-FAIL
4
4
// OUTPUT-FAIL: clang-doc error:
5
- // OUTPUT-FAIL: {{(Not a directory|[Nn]o such file or directory)}}
5
+ // OUTPUT-FAIL-SAME: failed to create directory.
6
6
7
7
// / Invalid format option.
8
8
// RUN: rm -rf %t && mkdir %t && touch %t/file
You can’t perform that action at this time.
0 commit comments