aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorAleksandr Nogikh <nogikh@google.com>2025-04-24 09:45:01 +0200
committerAleksandr Nogikh <nogikh@google.com>2025-04-24 08:05:31 +0000
commit9c80ffa0c732875f03df82e97c8294cfdf76c8a5 (patch)
treeb098ca0de6235d567102ec379fe05effdc6646cb /Makefile
parent40036e99fc252de1dcaf9cc72a33a34e39b91b65 (diff)
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().
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
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 \