mirror-llvm-project/clang/docs/ClangStaticAnalyzer.md
Balázs Benics 1d577d28b2
[analyzer][docs] Fix invalid MyST toctree 'numbered' option after Markdown migration (#207217)
The RST-to-Markdown migration (#206181) converted the RST flag
`:numbered:` into `:numbered: true`.

MyST parses the toctree `numbered` option as `int_or_nothing`, so the
string `true` fails with:

```
'toctree': Invalid option value for 'numbered': true:
invalid literal for int() with base 10: 'true'
```

This breaks the `-W` (warnings-as-errors) `docs-clang-html` build.
Make `numbered` a valueless flag, which MyST accepts (equivalent to the
original RST behavior of numbering all levels).

Assisted-By: claude
2026-07-03 14:49:33 +01:00

700 B

Clang Static Analyzer

The Clang Static Analyzer is a source code analysis tool that finds bugs in C, C++, and Objective-C programs. It implements path-sensitive, inter-procedural analysis based on symbolic execution technique.

The Static Analyzer is a part of Clang; for downloading and installing Clang visit the LLVM releases page.

This is the documentation page of the Static Analyzer; there is also an old Official Tool Page which provides a short overview of features and limitations.

:caption: Table of Contents
:maxdepth: 2
:numbered:

analyzer/checkers
analyzer/user-docs
analyzer/developer-docs