-
Notifications
You must be signed in to change notification settings - Fork 1
/
.clang-tidy
76 lines (76 loc) · 2.4 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
65
66
67
68
69
70
71
72
73
74
75
76
---
UseColor: true
Checks: >
*,
-altera-id-dependent-backward-branch,
-altera-struct-pack-align,
-altera-unroll-loops,
boost-*,
bugprone-*,
-bugprone-chained-comparison,
-bugprone-easily-swappable-parameters,
cert-*,
-cert-dcl21-cpp,
clang-analyzer-*,
-clang-analyzer-cplusplus.NewDelete,
-clang-analyzer-cplusplus.NewDeleteLeaks,
concurrency-*,
cppcoreguidelines-*,
-cppcoreguidelines-avoid-magic-numbers,
-cppcoreguidelines-pro-type-vararg,
google-*,
hicpp-avoid-goto,
-llvm-include-order,
llvm-namespace-comment,
-llvm-header-guard,
-llvmlibc-callee-namespace,
-llvmlibc-implementation-in-namespace,
-llvmlibc-inline-function-decl,
-llvmlibc-restrict-system-libc-headers,
misc-*,
-misc-no-recursion,
modernize-*,
-modernize-use-trailing-return-type,
performance-*,
readability-*,
-readability-identifier-length,
readability-implicit-bool-conversion,
-readability-magic-numbers,
-fuchsia-default-arguments-calls,
-fuchsia-overloaded-operator,
-fuchsia-default-arguments-declarations
HeaderFilterRegex: '.*'
WarningsAsErrors: '*'
CheckOptions:
- key: readability-identifier-naming.NamespaceCase
value: camelBack
- key: readability-identifier-naming.ClassCase
value: CamelCase
- key: readability-identifier-naming.TypedefCase
value: CamelCase
- key: readability-identifier-naming.TypeAliasCase
value: CamelCase
- key: readability-identifier-naming.StructCase
value: CamelCase
- key: readability-identifier-naming.FunctionCase
value: camelBack
- key: readability-identifier-naming.VariableCase
value: camelBack
- key: readability-identifier-naming.PrivateMemberCase
value: camelBack
- key: readability-identifier-naming.ParameterCase
value: camelBack
- key: readability-identifier-naming.GlobalConstantCase
value: camelCase
- key: readability-identifier-naming.StaticConstantCase
value: camelCase
- key: readability-identifier-naming.ConstexprVariableCase
value: camelCase
- key: readability-identifier-naming.TypeTemplateParameterCase
value: CamelCase
- key: readability-identifier-naming.TypeTemplateParameterIgnoredRegexp
value: ^expr-type$
- key: readability-identifier-naming.FunctionIgnoredRegexp
value: ^(begin|end)$
- key: readability-identifier-naming.TypeAliasIgnoredRegexp
value: ^(iterator_category|value_type|difference_type|pointer|reference|iterator_type|iterator_concept)$