[clang-tools-extra] [clang-doc] Refactor error handling to use ExitOnError (PR #141699)
Paul Kirth via cfe-commits
cfe-commits at lists.llvm.org
Thu May 29 09:27:39 PDT 2025
================
@@ -300,7 +297,7 @@ Example usage for a project using a compile commands database:
"these files and continue:\n"
<< toString(std::move(Err)) << "\n";
else {
- llvm::errs() << toString(std::move(Err)) << "\n";
+ ExitOnErr(std::move(Err));
return 1;
----------------
ilovepi wrote:
I think this is dead now, right?
https://github.com/llvm/llvm-project/pull/141699
More information about the cfe-commits
mailing list