3 Commits

Author SHA1 Message Date
Jean Felder
ac21a8d3a7 clang-tidy: Ignore the external directory
The external directory contains code for external librairies. It
should not be inspected by clang-tidy.

The regex syntax does not allow to directly ignore a directory. Solve
this issue by adding a `clang-tidy` config file in the external
directory which disables all the checks.

See:
https://stackoverflow.com/questions/74349432/clang-tidy-exclude-specific-dir-from-analysis
See:
https://stackoverflow.com/questions/58338202/cmake-clang-tidy-disable-checking-in-directory
See: https://gitlab.kitware.com/cmake/cmake/-/merge_requests/777/diffs
2025-02-19 11:24:56 +01:00
Matthias Kuhn
41690243a0 Disable bugprone-suspicious-include check
it warns erroneously about moc_include headers
2024-10-30 07:13:15 +01:00
Loïc Bartoletti
4786e59555 Add a .clang-tidy file based on tests/code_layout/clangtidy_checks.txt 2023-12-13 12:14:42 +01:00