[clang-tools-extra] [clang-doc] Add option for compact JSON (PR #190822)

Paul Kirth via cfe-commits cfe-commits at lists.llvm.org
Fri Apr 10 13:51:36 PDT 2026


================
@@ -1,5 +1,5 @@
 // RUN: rm -rf %t && mkdir -p %t
-// RUN: clang-doc --extra-arg -std=c++20 --output=%t --format=json --executor=standalone %s
+// RUN: clang-doc --pretty --extra-arg -std=c++20 --output=%t --format=json --executor=standalone %s
----------------
ilovepi wrote:

Not for this patch, but for annoying options we always pass, we could introduce shorthands, similar to the %clang_cc1 substitution we use in clang tests.

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


More information about the cfe-commits mailing list