-
Notifications
You must be signed in to change notification settings - Fork 0
/
.clang-tidy
37 lines (37 loc) · 1.19 KB
/
.clang-tidy
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
31
32
33
34
35
36
37
---
Checks: >
-*,
bugprone-*,
cppcoreguidelines-*,
-cppcoreguidelines-avoid-c-arrays,
-cppcoreguidelines-avoid-magic-numbers,
clang-diagnostic-*,
-clang-diagnostic-unknown-pragmas,
clang-analyzer-*,
cert-*,
google-*,
-google-build-using-namespace,
-google-runtime-int,
llvm-*,
-llvm-header-guard,
misc-*,
modernize-*,
-modernize-use-trailing-return-type,
performance-*,
readability-*,
-readability-function-cognitive-complexity,
-readability-identifier-length,
-readability-named-parameter,
-readability-uppercase-literal-suffix,
FormatStyle: file
CheckOptions:
- key: bugprone-argument-comment.CommentBoolLiterals
value: 'true'
- key: bugprone-assert-side-effect.AssertMacros
value: 'MAYS_CHECK,assert'
- key: cppcoreguidelines-avoid-magic-numbers.IgnorePowersOf2IntegerValues
value: 'true'
- key: readability-magic-numbers.IgnorePowersOf2IntegerValues
value: 'true'
- key: misc-include-cleaner.IgnoreHeaders
value: 'catch2/.*;concepts(\.h)?' # TODO: remove when misc-include-cleaner understands concepts (clang-tidy 17 does not)