| 1 |
The documentation of analyzer options is generated by a script that parses |
| 2 |
AnalyzerOptions.def. The following line validates that this script |
| 3 |
"understands" everything in its input files: |
| 4 |
|
| 5 |
RUN: %python %src_dir/docs/tools/generate_analyzer_options_docs.py \ |
| 6 |
RUN: --options-def %src_include_dir/clang/StaticAnalyzer/Core/AnalyzerOptions.def \ |
| 7 |
RUN: --template %src_dir/docs/analyzer/user-docs/Options.rst.in \ |
| 8 |
RUN: --out %t.rst |
| 9 |
|
| 10 |
Moreover, verify that the documentation (e.g. this fragment of the |
| 11 |
documentation of the "mode" option) can be found in the output file: |
| 12 |
|
| 13 |
RUN: FileCheck --input-file=%t.rst %s |
| 14 |
CHECK: Controls the high-level analyzer mode |