From 9c80ffa0c732875f03df82e97c8294cfdf76c8a5 Mon Sep 17 00:00:00 2001 From: Aleksandr Nogikh Date: Thu, 24 Apr 2025 09:45:01 +0200 Subject: all: adjust to the new clang tidy checks clang-tidy-20 generates many more failures, many of which are in the flartrpc library. Let's disable clang-analyzer-optin.core.EnumCastOutOfRange for now. It also complained about PROT_EXEC in the executor, but that is necessary to support syz_execute_func(). --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 2bbf1ca60..92d649075 100644 --- a/Makefile +++ b/Makefile @@ -267,7 +267,7 @@ configs: kconf tidy: descriptions clang-tidy -quiet -header-filter=executor/[^_].* -warnings-as-errors=* \ - -checks=-*,misc-definitions-in-headers,bugprone-macro-parentheses,clang-analyzer-*,-clang-analyzer-security.insecureAPI*,-clang-analyzer-optin.performance* \ + -checks=-*,misc-definitions-in-headers,bugprone-macro-parentheses,clang-analyzer-*,-clang-analyzer-security.insecureAPI*,-clang-analyzer-optin.performance*,-clang-analyzer-optin.core.EnumCastOutOfRange \ -extra-arg=-DGOOS_$(TARGETOS)=1 -extra-arg=-DGOARCH_$(TARGETARCH)=1 \ -extra-arg=-DHOSTGOOS_$(HOSTOS)=1 -extra-arg=-DGIT_REVISION=\"$(REV)\" \ --extra-arg=-I. --extra-arg=-Iexecutor/_include \ -- cgit mrf-deployment