From d5ed05a2ceb40ee8a3b6223c0dcd57fe7687b1db Mon Sep 17 00:00:00 2001 From: Daan De Meyer Date: Wed, 26 Nov 2025 15:52:46 +0100 Subject: [PATCH] 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. --- .clang-tidy | 2 ++ 1 file changed, 2 insertions(+) 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: -- 2.47.3