clang-tidy: Block system headers with errors

blkid.h and gmessages.h both use const for arguments that are passed
by value, which is pointless and triggers clang-tidy warnings, so exclude
them from processing.
This commit is contained in:
Daan De Meyer
2025-11-26 15:52:46 +01:00
committed by DaanDeMeyer
parent 18842be4be
commit d5ed05a2ce

View File

@@ -28,7 +28,9 @@ CheckOptions:
varlink-idl-common\.h;
unistd\.h
'
misc-header-include-cycle.IgnoredFilesList: 'glib-2.0'
WarningsAsErrors: '*'
ExcludeHeaderFilterRegex: 'blkid\.h|gmessages\.h|gstring\.h'
HeaderFileExtensions:
- h
ImplementationFileExtensions: