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

Erick Velez via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 8 13:57:32 PDT 2026


================
@@ -50,6 +50,10 @@ using clang::doc::OutputFormatTy;
 static llvm::cl::extrahelp CommonHelp(CommonOptionsParser::HelpMessage);
 static llvm::cl::OptionCategory ClangDocCategory("clang-doc options");
 
+static llvm::cl::opt<bool>
----------------
evelez7 wrote:

Yeah I thought that while writing but was wondering your opinion. If it is default, then should the name be changed? When I see this option elsewhere, it's usually something like "pretty" that needs to be explicitly passed.

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


More information about the cfe-commits mailing list