[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:38 PDT 2025


================
@@ -0,0 +1,12 @@
+// Test: Invalid output path (%t is a file, not a directory)
+// RUN: rm -rf %t && echo "not a dir" > %t
----------------
ilovepi wrote:

we don't need this echo. you can just `touch %t` to the same effect.

https://github.com/llvm/llvm-project/pull/141699


More information about the cfe-commits mailing list