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