[clang] [NFC][analyzer] Document configuration options (PR #135169)
Balazs Benics via cfe-commits
cfe-commits at lists.llvm.org
Tue May 13 01:50:33 PDT 2025
=?utf-8?q?Donát?= Nagy <donat.nagy at ericsson.com>,
=?utf-8?q?Donát?= Nagy <donat.nagy at ericsson.com>,
=?utf-8?q?Donát?= Nagy <donat.nagy at ericsson.com>,
=?utf-8?q?Donát?= Nagy <donat.nagy at ericsson.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/135169 at github.com>
================
@@ -0,0 +1,11 @@
+The documentation of analyzer options is generated by a script that parses
+AnalyzerOptions.def. The following line validates that this script
+"understands" everything in its input files:
+
+RUN: %python %src_dir/docs/tools/generate_analyzer_options_docs.py --validate --options-def %src_include_dir/clang/StaticAnalyzer/Core/AnalyzerOptions.def --template %src_dir/docs/analyzer/user-docs/Options.rst.in --out %t.rst
----------------
steakhal wrote:
```suggestion
RUN: %python %src_dir/docs/tools/generate_analyzer_options_docs.py --validate \
RUN: --options-def %src_include_dir/clang/StaticAnalyzer/Core/AnalyzerOptions.def \
RUN: --template %src_dir/docs/analyzer/user-docs/Options.rst.in \
RUN: --out %t.rst
```
https://github.com/llvm/llvm-project/pull/135169
More information about the cfe-commits
mailing list