-
Notifications
You must be signed in to change notification settings - Fork 13
/
.clang-tidy
92 lines (88 loc) · 3.51 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
Checks: 'readability-'
# 'clang-diagnostic-*,clang-analyzer-*,bugprone-*,cppcoreguidelines-*,misc-*,modernize-*,performance-*,readability-*'
WarningsAsErrors: ''
HeaderFilterRegex: ''
CheckOptions:
- { key: readability-identifier-naming.NamespaceCase, value: lower_case }
- { key: readability-identifier-naming.ClassCase, value: CamelCase }
- { key: readability-identifier-naming.EnumCase, value: CamelCase }
- { key: readability-identifier-naming.StructCase, value: CamelCase }
- { key: readability-identifier-naming.StructPrefix, value: struct }
- { key: readability-identifier-naming.ClassMethod, value: lower_case }
- { key: readability-identifier-naming.Constant, value: UPPER_CASE }
- { key: readability-identifier-naming.GlobalFunction, value: lower_case }
- { key: readability-identifier-naming.ClassMethod, value: lower_case }
- { key: readability-identifier-naming.Method, value: lower_case }
# - { key: readability-identifier-naming.PrivateMemberPrefix, value: }
# - { key: readability-identifier-naming.StructCase, value: CamelCase }
# - { key: readability-identifier-naming.FunctionCase, value: lower_case }
# - { key: readability-identifier-naming.VariableCase, value: lower_case }
# - { key: readability-identifier-naming.GlobalConstantCase, value: UPPER_CASE }
# m(Namespace) \
# m(InlineNamespace) \
# m(EnumConstant) \
# m(ConstexprVariable) \
# m(ConstantMember) \
# m(PrivateMember) \
# m(ProtectedMember) \
# m(PublicMember) \
# m(Member) \
# m(ClassConstant) \
# m(ClassMember) \
# m(GlobalConstant) \
# m(GlobalVariable) \
# m(LocalConstant) \
# m(LocalVariable) \
# m(StaticConstant) \
# m(StaticVariable) \
# m(Constant) \
# m(Variable) \
# m(ConstantParameter) \
# m(ParameterPack) \
# m(Parameter) \
# m(AbstractClass) \
# m(Struct) \
# m(Class) \
# m(Union) \
# m(Enum) \
# m(GlobalFunction) \
# m(ConstexprFunction) \
# m(Function) \
# m(ConstexprMethod) \
# m(VirtualMethod) \
# m(ClassMethod) \
# m(PrivateMethod) \
# m(ProtectedMethod) \
# m(PublicMethod) \
# m(Method) \
# m(Typedef) \
# m(TypeTemplateParameter) \
# m(ValueTemplateParameter) \
# m(TemplateTemplateParameter) \
# m(TemplateParameter) \
# m(TypeAlias) \
# m(MacroDefinition) \
# AnalyzeTemporaryDtors: false
# FormatStyle: none
# User: nab
# CheckOptions:
# - key: google-readability-braces-around-statements.ShortStatementLines
# value: '1'
# - key: google-readability-function-size.StatementThreshold
# value: '800'
# - key: google-readability-namespace-comments.ShortNamespaceLines
# value: '10'
# - key: google-readability-namespace-comments.SpacesBeforeComments
# value: '2'
# - key: modernize-loop-convert.MaxCopySize
# value: '16'
# - key: modernize-loop-convert.MinConfidence
# value: reasonable
# - key: modernize-loop-convert.NamingStyle
# value: CamelCase
# - key: modernize-pass-by-value.IncludeStyle
# value: llvm
# - key: modernize-replace-auto-ptr.IncludeStyle
# value: llvm
# - key: modernize-use-nullptr.NullMacros
# value: 'NULL'