-
Notifications
You must be signed in to change notification settings - Fork 93
/
.clang-tidy
49 lines (49 loc) · 1.49 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
Checks: '
*,
-abseil-*,
-altera-*,
-cert-dcl37-c,
-cert-dcl21-cpp,
-cert-dcl50-cpp,
-cert-dcl51-cpp,
-cert-dcl58-cpp,
-cppcoreguidelines-avoid-const-or-ref-data-members,
-cppcoreguidelines-avoid-do-while,
-cppcoreguidelines-pro-bounds-constant-array-index,
-cppcoreguidelines-pro-bounds-pointer-arithmetic,
-cppcoreguidelines-pro-type-vararg,
-llvm-header-guard,
-llvm-include-order,
-llvm-namespace-comment,
-llvmlibc-*,
-fuchsia-default-arguments-calls,
-fuchsia-default-arguments-declarations,
-fuchsia-multiple-inheritance,
-fuchsia-overloaded-operator,
-fuchsia-statically-constructed-objects,
-fuchsia-trailing-return,
-google-readability-namespace-comments,
-google-readability-todo,
-google-runtime-int,
-hicpp-signed-bitwise,
-hicpp-vararg,
-misc-include-cleaner,
-modernize-use-trailing-return-type,
-modernize-use-designated-initializers,
-readability-identifier-length,
-readability-isolate-declaration,
-readability-magic-numbers,
-readability-static-accessed-through-instance,
-*-braces-around-statements,
-*-named-parameter,
-*-uppercase-literal-suffix,
-misc-no-recursion
'
CheckOptions:
- key: hicpp-signed-bitwise.IgnorePositiveIntegerLiterals
value: true
- key: misc-non-private-member-variables-in-classes.IgnoreClassesWithAllMemberVariablesBeingPublic
value: true
WarningsAsErrors: '*'
HeaderFilterRegex: '.*'
FormatStyle: file