mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-22 00:06:12 -05:00
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
5 lines
280 B
YAML
5 lines
280 B
YAML
# clang-tidy does not allow easy deactivation of a directory.
|
|
# Use a dummy .clang-tidy file that disables all clang-tidy checks except one that will never match.
|
|
# This one check is necessary; clang-tidy reports an error when no checks are enabled.
|
|
Checks: '-*,llvm-twine-local'
|