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) {
267267
268268static llvm::Error createDirectories (llvm::StringRef OutDirectory) {
269269 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." );
271272 return llvm::Error::success ();
272273}
273274
Original file line number Diff line number Diff line change 22// RUN: rm -rf %t && touch %t
33// RUN: not clang-doc %s -output=%t/subdir 2>&1 | FileCheck %s --check-prefix=OUTPUT-FAIL
44// 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.
66
77// / Invalid format option.
88// RUN: rm -rf %t && mkdir %t && touch %t/file
You can’t perform that action at this time.
0 commit comments