diff options
author | Jack Lloyd <[email protected]> | 2022-02-06 13:17:31 -0500 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2022-02-06 13:17:31 -0500 |
commit | b67ccfdb380422728ff5fcf5fe6c642d8a9e08f7 (patch) | |
tree | c494d0ed08528132b97af0080a9bf2a54dbf2535 /src | |
parent | ce7fea126c7282cda713426739b53e5f51b8df4f (diff) |
Update clang-tidy config
Diffstat (limited to 'src')
-rwxr-xr-x | src/scripts/run_clang_tidy.py | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/scripts/run_clang_tidy.py b/src/scripts/run_clang_tidy.py index 957ca5b3f..0a1df47ea 100755 --- a/src/scripts/run_clang_tidy.py +++ b/src/scripts/run_clang_tidy.py @@ -10,17 +10,16 @@ import re from multiprocessing.pool import ThreadPool enabled_checks = [ - 'readability-named-parameter', - #'clang-analyzer-*', - #'performance-*', - #'bugprone-*', - #'cert-*', - #'cppcoreguidelines-*', + 'clang-analyzer-*', + 'performance-*', + 'bugprone-*', + 'cert-*', + 'cppcoreguidelines-*', #'hicpp-*', #'modernize-*', - #'portability-*', + 'portability-*', #'readability-*', - #'readability-container-size-empty', + 'readability-container-size-empty', #'readability-inconsistent-declaration-parameter-name', ] @@ -43,10 +42,11 @@ disabled_checks = [ 'performance-no-int-to-ptr', 'readability-function-cognitive-complexity', # bogus 'portability-simd-intrinsics', # not a problem + 'bugprone-macro-parenthesis', # should be fixed (using inline/constexpr) '*-magic-numbers', # not a problem 'hicpp-signed-bitwise', # djb shit 'cppcoreguidelines-pro-type-reinterpret-cast', # not possible thanks though - 'cert-err58-cpp' # shut up whiner + 'cert-err58-cpp', # shut up whiner 'modernize-return-braced-init-list', # thanks I hate it ] |