summaryrefslogtreecommitdiff
path: root/docs/markdown/snippets/clangtidy.md
blob: 816d45fc4f505b3663169502ff681a1f2f73e3a8 (plain)
1
2
3
4
5
6
7
8
## Clang-tidy target

If `clang-tidy` is installed and the project's source root contains a
`.clang-tidy` (or `_clang-tidy`) file, Meson will automatically define
a `clang-tidy` target that runs Clang-Tidy on all source files.

If you have defined your own `clang-tidy` target, Meson will not
generate its own target.