-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
.clang-tidy
35 lines (33 loc) · 1015 Bytes
/
.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
Checks: >
-*,
bugprone-*,
cert-dcl21-cpp,
cert-dcl50-cpp,
cert-err52-cpp,
cert-err60-cpp,
cppcoreguidelines-*,
google-explicit-constructor,
google-global-names-in-headers,
google-readability-casting,
google-runtime-int,
google-runtime-operator,
modernize-*,
performance-*,
readability-*,
-modernize-use-trailing-return-type,
-modernize-avoid-bind,
-modernize-pass-by-value,
-readability-named-parameter,
-readability-magic-numbers,
-readability-convert-member-functions-to-static,
-cppcoreguidelines-avoid-magic-numbers,
-cppcoreguidelines-owning-memory,
-cppcoreguidelines-non-private-member-variables-in-classes,
-misc-non-private-member-variables-in-classes,
-bugprone-easily-swappable-parameters,
# Disabling this until https://github.com/llvm/llvm-project/issues/47384 is fixed.
-cppcoreguidelines-avoid-non-const-global-variables,
CheckOptions:
- key: readability-function-cognitive-complexity.DescribeBasicIncrements
value: 1
FormatStyle: 'none'