-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path.clang-tidy
64 lines (64 loc) · 2.28 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
Checks:
- bugprone-*
- -bugprone-easily-swappable-parameters
- -bugprone-narrowing-conversions
- cert-*
- -cert-err33-c
- clang-analyzer-*
- cppcoreguidelines-avoid-const-or-ref-data-members
# - cppcoreguidelines-init-variables
- cppcoreguidelines-interfaces-global-init
- cppcoreguidelines-misleading-capture-default-by-value
- cppcoreguidelines-missing-std-forward
- cppcoreguidelines-prefer-member-initializer
- cppcoreguidelines-pro-type-cstyle-cast
# - cppcoreguidelines-pro-type-member-init
- cppcoreguidelines-special-member-functions
- cppcoreguidelines-virtual-class-destructor
- cppcoreguidelines-rvalue-reference-param-not-moved
- cppcoreguidelines-slicing
- google-explicit-constructor
- google-readability-casting
- misc-*
- -misc-include-cleaner
- modernize-avoid-bind
- modernize-concat-nested-namespaces
- modernize-deprecated-headers
- modernize-deprecated-ios-base-aliases
- modernize-loop-convert
- modernize-macro-to-enum
- modernize-make-shared
- modernize-make-unique
- modernize-pass-by-value
- modernize-raw-string-literal
- modernize-redundant-void-arg
- modernize-replace-auto-ptr
- modernize-return-braced-init-list
- modernize-shrink-to-fit
- modernize-type-traits
- modernize-unary-static-assert
- modernize-use-auto
- modernize-use-bool-literals
- modernize-use-constraints
- modernize-use-default
- modernize-use-default-member-init
- modernize-use-emplace
- modernize-use-equals-default
- modernize-use-equals-delete
- modernize-use-nodiscard
- modernize-use-nullptr
- modernize-use-override
- modernize-use-using
- performance-*
- -performance-no-int-to-ptr
- readability-*
- -readability-identifier-length
- -readability-implicit-bool-conversion
- -readability-function-cognitive-complexity
FormatStyle: 'file'
WarningsAsErrors: '*'
CheckOptions:
cppcoreguidelines-special-member-functions.AllowMissingMoveFunctionsWhenCopyIsDeleted: true
misc-non-private-member-variables-in-classes.IgnoreClassesWithAllMemberVariablesBeingPublic: true
readability-magic-numbers.IgnorePowersOf2IntegerValues: true
readability-simplify-boolean-expr.IgnoreMacros: true