[llvm-branch-commits] [clang-tools-extra] [clang-doc] add option to delete JSON residuals (PR #150656)
Paul Kirth via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Fri Jul 25 10:29:51 PDT 2025
================
@@ -481,9 +481,9 @@ ClangDocContext::ClangDocContext(tooling::ExecutionContext *ECtx,
StringRef RepositoryUrl,
StringRef RepositoryLinePrefix, StringRef Base,
std::vector<std::string> UserStylesheets,
- bool FTimeTrace)
+ bool KeepJSON, bool FTimeTrace)
----------------
ilovepi wrote:
does this actually need to be in the context? you have a `cl::opt`, right? it doesn't have to be a static variable, and then you could use it from other TUs. This is pretty common in LLVM.
Alternatively, the `cl::opt` could just be in the mustache generator, since its the only generator that uses it.
https://github.com/llvm/llvm-project/pull/150656
More information about the llvm-branch-commits
mailing list