From: Daan De Meyer Date: Wed, 26 Nov 2025 14:52:46 +0000 (+0100) Subject: clang-tidy: Block system headers with errors X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d5ed05a2ceb40ee8a3b6223c0dcd57fe7687b1db;p=thirdparty%2Fsystemd.git 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. --- diff --git a/.clang-tidy b/.clang-tidy index fe0cab6c987..b2aa5983c5e 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -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: