mirror of
https://github.com/systemd/systemd.git
synced 2026-08-12 12:16:06 +00:00
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:
committed by
DaanDeMeyer
parent
18842be4be
commit
d5ed05a2ce
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user