-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.clang-tidy
107 lines (106 loc) · 5.15 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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
---
FormatStyle: 'file'
SystemHeaders: false
WarningsAsErrors: 'readability-identifier-naming'
HeaderFilterRegex: '.*'
HeaderFileExtensions:
- ''
- h
- hh
- hpp
- hxx
ImplementationFileExtensions:
- c
- cc
- cpp
- cxx
- ipp
Checks: "clang-diagnostic-*,
clang-analyzer-*,
*,
-altera-id-dependent-backward-branch,
-altera-unroll-loops,
-bugprone-easily-swappable-parameters,
-cppcoreguidelines-avoid-magic-numbers,
-fuchsia-default-arguments-calls,
-fuchsia-default-arguments-declarations,
-google-readability-braces-around-statements,
-google-readability-namespace-comments,
-hicpp-braces-around-statements,
-llvmlibc-callee-namespace,
-llvmlibc-implementation-in-namespace,
-llvmlibc-inline-function-decl,
-llvmlibc-restrict-system-libc-headers,
-llvm-header-guard,
-llvm-namespace-comment,
-modernize-use-trailing-return-type,
-readability-braces-around-statements,
-readability-identifier-length,
-readability-magic-numbers
"
CheckOptions:
cppcoreguidelines-pro-type-const-cast.StrictMode: true
misc-include-cleaner.IgnoreHeaders: '^.*(?:pch|stdafx)\.h\w*$'
modernize-use-default-member-init.UseAssignment: true
performance-for-range-copy.WarnOnAllAutoCopies: true
readability-identifier-naming.AbstractClassCase: 'lower_case'
readability-identifier-naming.ClassCase: 'lower_case'
readability-identifier-naming.ClassConstantCase: 'lower_case'
readability-identifier-naming.ClassMemberCase: 'lower_case'
readability-identifier-naming.ClassMethodCase: 'lower_case'
readability-identifier-naming.ConceptCase: 'lower_case'
readability-identifier-naming.ConstantCase: 'lower_case'
readability-identifier-naming.ConstantMemberCase: 'lower_case'
readability-identifier-naming.ConstantParameterCase: 'lower_case'
readability-identifier-naming.ConstantPointerParameterCase: 'lower_case'
readability-identifier-naming.ConstexprFunctionCase: 'lower_case'
readability-identifier-naming.ConstexprMethodCase: 'lower_case'
readability-identifier-naming.ConstexprVariableCase: 'lower_case'
readability-identifier-naming.EnumCase: 'lower_case'
readability-identifier-naming.EnumConstantCase: 'lower_case'
readability-identifier-naming.FunctionCase: 'lower_case'
readability-identifier-naming.GlobalConstantCase: 'lower_case'
readability-identifier-naming.GlobalConstantPointerCase: 'lower_case'
readability-identifier-naming.GlobalFunctionCase: 'lower_case'
readability-identifier-naming.GlobalPointerCase: 'lower_case'
readability-identifier-naming.GlobalVariableCase: 'lower_case'
readability-identifier-naming.InlineNamespaceCase: 'lower_case'
readability-identifier-naming.LocalConstantCase: 'lower_case'
readability-identifier-naming.LocalConstantPointerCase: 'lower_case'
readability-identifier-naming.LocalPointerCase: 'lower_case'
readability-identifier-naming.LocalVariableCase: 'lower_case'
readability-identifier-naming.MacroDefinitionCase: 'UPPER_CASE'
readability-identifier-naming.MemberCase: 'lower_case'
readability-identifier-naming.MethodCase: 'lower_case'
readability-identifier-naming.NamespaceCase: 'lower_case'
readability-identifier-naming.ParameterCase: 'lower_case'
readability-identifier-naming.ParameterPackCase: 'lower_case'
readability-identifier-naming.PointerParameterCase: 'lower_case'
readability-identifier-naming.PrivateMemberCase: 'lower_case'
readability-identifier-naming.PrivateMemberPrefix: 'm_'
readability-identifier-naming.PrivateMethodCase: 'lower_case'
readability-identifier-naming.ProtectedMemberCase: 'lower_case'
readability-identifier-naming.ProtectedMemberPrefix: 'm_'
readability-identifier-naming.ProtectedMethodCase: 'lower_case'
readability-identifier-naming.PublicMemberCase: 'lower_case'
readability-identifier-naming.PublicMethodCase: 'lower_case'
readability-identifier-naming.ScopedEnumConstantCase: 'lower_case'
readability-identifier-naming.StaticConstantCase: 'lower_case'
readability-identifier-naming.StaticVariableCase: 'lower_case'
readability-identifier-naming.StructCase: 'lower_case'
readability-identifier-naming.TemplateParameterCase: 'lower_case'
readability-identifier-naming.TemplateParameterSuffix: '_t'
readability-identifier-naming.TemplateTemplateParameterCase: 'lower_case'
readability-identifier-naming.TemplateTemplateParameterSuffix: '_t'
readability-identifier-naming.TypeAliasCase: 'lower_case'
readability-identifier-naming.TypeAliasSuffix: '_t'
readability-identifier-naming.TypedefCase: 'lower_case'
readability-identifier-naming.TypedefSuffix: '_t'
readability-identifier-naming.TypeTemplateParameterCase: 'lower_case'
readability-identifier-naming.TypeTemplateParameterSuffix: '_t'
readability-identifier-naming.UnionCase: 'lower_case'
readability-identifier-naming.ValueTemplateParameterCase: 'lower_case'
readability-identifier-naming.ValueTemplateParameterSuffix: '_t'
readability-identifier-naming.VariableCase: 'lower_case'
readability-identifier-naming.VirtualMethodCase: 'lower_case'
readability-redundant-inline-specifier.StrictMode: true