aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2022-02-06 13:17:31 -0500
committerJack Lloyd <[email protected]>2022-02-06 13:17:31 -0500
commitb67ccfdb380422728ff5fcf5fe6c642d8a9e08f7 (patch)
treec494d0ed08528132b97af0080a9bf2a54dbf2535 /src
parentce7fea126c7282cda713426739b53e5f51b8df4f (diff)
Update clang-tidy config
Diffstat (limited to 'src')
-rwxr-xr-xsrc/scripts/run_clang_tidy.py18
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
]