-
Notifications
You must be signed in to change notification settings - Fork 127
Expand file tree
/
Copy path.clang-tidy
More file actions
30 lines (26 loc) · 870 Bytes
/
Copy path.clang-tidy
File metadata and controls
30 lines (26 loc) · 870 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Conservative clang-tidy configuration for a SIMD-heavy C99/C++23 library.
# Intrinsics-heavy code triggers many false positives in certain checkers,
# so we keep the enabled set narrow and focused on real bugs.
---
Checks: >
-*,
bugprone-*,
-bugprone-easily-swappable-parameters,
-bugprone-narrowing-conversions,
-bugprone-implicit-widening-of-multiplication-result,
-bugprone-assignment-in-if-condition,
-bugprone-casting-through-void,
-bugprone-macro-parentheses,
misc-redundant-expression,
misc-unused-using-decls,
performance-*,
-performance-avoid-endl,
readability-duplicate-include,
readability-misleading-indentation,
readability-redundant-preprocessor,
WarningsAsErrors: ''
HeaderFilterRegex: 'include/numkong/.*'
FormatStyle: file
CheckOptions:
- key: bugprone-assert-side-effect.AssertMacros
value: 'assert,NK_ASSERT'