diff options
| author | Aleksandr Nogikh <nogikh@google.com> | 2025-04-24 09:45:01 +0200 |
|---|---|---|
| committer | Aleksandr Nogikh <nogikh@google.com> | 2025-04-24 08:05:31 +0000 |
| commit | 9c80ffa0c732875f03df82e97c8294cfdf76c8a5 (patch) | |
| tree | b098ca0de6235d567102ec379fe05effdc6646cb /Makefile | |
| parent | 40036e99fc252de1dcaf9cc72a33a34e39b91b65 (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-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 \ |
