-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.clang-tidy
38 lines (32 loc) · 1.61 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
Checks: >
readability-identifier-naming
# Turn all the warnings from the checks above into errors.
#WarningsAsErrors: "*"
CheckOptions:
- key: readability-identifier-naming.FunctionCase
value: lower_case
- key: readability-identifier-naming.EnumCase
value: lower_case
# - { key: readability-identifier-naming.FunctionCase, value: lower_case }
# - { key: readability-identifier-naming.GlobalFunctionCase, value: lower_case }
# - { key: readability-identifier-naming.GlobalVariableCase, value: lower_case }
# - { key: readability-identifier-naming.GlobalVariablePrefix, value: g_ }
#
# - { key: readability-identifier-naming.LocalVariableCase, value: lower_case }
## - { key: readability-identifier-naming.VariableCase, value: lower_case }
#
# - { key: readability-identifier-naming.MethodCase, value: lower_case }
# - { key: readability-identifier-naming.ParameterCase, value: lower_case }
# - { key: readability-identifier-naming.ParameterPrefix, value: "" }
# - { key: readability-identifier-naming.ParameterPrefix-*, value: s_ }
#
# - { key: readability-identifier-naming.ClassCase, value: lower_case }
#
# - { key: readability-identifier-naming.MemberCase, value: lower_case }
# - { key: readability-identifier-naming.MemberPrefix, value: "" }
#
# - { key: readability-identifier-naming.ConstexprVariableCase, value: UPPER_CASE }
# - { key: readability-identifier-naming.MacroDefinitionCase, value: UPPER_CASE }
# # - { key: readability-identifier-naming.MacroDefinitionPrefix, value: CH_ }
# - { key: readability-identifier-naming.EnumCase, value: lower_case }
# - { key: readability-identifier-naming.EnumPrefix, value: e_ }