2025-04-23 15:21:11 +02:00
|
|
|
# SPDX-License-Identifier: LGPL-2.1-or-later
|
|
|
|
|
---
|
|
|
|
|
Checks: '
|
|
|
|
|
-*,
|
2025-04-24 12:06:49 +02:00
|
|
|
misc-header-include-cycle,
|
2025-06-04 15:50:00 +02:00
|
|
|
readability-duplicate-include,
|
2025-05-20 12:28:15 +02:00
|
|
|
bugprone-argument-comment,
|
|
|
|
|
misc-include-cleaner
|
2025-04-23 15:21:11 +02:00
|
|
|
'
|
2025-05-23 13:38:45 +02:00
|
|
|
CheckOptions:
|
|
|
|
|
misc-include-cleaner.MissingIncludes: 'false'
|
|
|
|
|
# These all lead to common false positives by clang-tidy where it tries to
|
|
|
|
|
# remove these includes even though they're required in some situations (many
|
|
|
|
|
# of them related to musl).
|
|
|
|
|
misc-include-cleaner.IgnoreHeaders: '
|
|
|
|
|
endian\.h;
|
|
|
|
|
getopt\.h;
|
|
|
|
|
sys/stat\.h;
|
|
|
|
|
sys/statvfs\.h;
|
|
|
|
|
sys/syscall\.h;
|
|
|
|
|
sys/timex\.h;
|
|
|
|
|
sys/uio\.h;
|
|
|
|
|
netinet/in\.h;
|
|
|
|
|
net/if\.h;
|
|
|
|
|
net/if_arp\.h;
|
|
|
|
|
runtime-scope\.h;
|
|
|
|
|
varlink-io\.systemd\..*;
|
|
|
|
|
varlink-idl-common\.h;
|
|
|
|
|
unistd\.h
|
|
|
|
|
'
|
2025-04-23 15:21:11 +02:00
|
|
|
WarningsAsErrors: '*'
|
|
|
|
|
HeaderFileExtensions:
|
|
|
|
|
- h
|
|
|
|
|
ImplementationFileExtensions:
|
|
|
|
|
- c
|
|
|
|
|
...
|