mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Disable a few new modernize clang-tidy checkers, enabled by C++20
This commit is contained in:
parent
a014f48e0f
commit
832f67e91c
1 changed files with 6 additions and 0 deletions
|
@ -16,6 +16,7 @@ Checks: [-*,
|
||||||
-bugprone-unchecked-optional-access,
|
-bugprone-unchecked-optional-access,
|
||||||
-performance-unnecessary-value-param,
|
-performance-unnecessary-value-param,
|
||||||
-modernize-use-equals-default,
|
-modernize-use-equals-default,
|
||||||
|
-modernize-use-integer-sign-comparison,
|
||||||
|
|
||||||
# The following cause either lots of pointless or advisory warnings
|
# The following cause either lots of pointless or advisory warnings
|
||||||
-bugprone-easily-swappable-parameters,
|
-bugprone-easily-swappable-parameters,
|
||||||
|
@ -43,6 +44,7 @@ Checks: [-*,
|
||||||
-modernize-use-nodiscard,
|
-modernize-use-nodiscard,
|
||||||
-modernize-use-ranges,
|
-modernize-use-ranges,
|
||||||
-modernize-use-trailing-return-type,
|
-modernize-use-trailing-return-type,
|
||||||
|
-modernize-use-designated-initializers,
|
||||||
|
|
||||||
# This one returns a bunch of findings in DFA and the sqlite library.
|
# This one returns a bunch of findings in DFA and the sqlite library.
|
||||||
# We're unlikely to fix either of them.
|
# We're unlikely to fix either of them.
|
||||||
|
@ -64,6 +66,10 @@ Checks: [-*,
|
||||||
-modernize-use-std-format,
|
-modernize-use-std-format,
|
||||||
-modernize-use-std-numbers,
|
-modernize-use-std-numbers,
|
||||||
-modernize-use-std-print,
|
-modernize-use-std-print,
|
||||||
|
|
||||||
|
# C++20 supports constraints but until Spicy supports building with C++20
|
||||||
|
# this one has to stay disabled.
|
||||||
|
-modernize-use-constraints,
|
||||||
]
|
]
|
||||||
|
|
||||||
HeaderFilterRegex: '.h'
|
HeaderFilterRegex: '.h'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue