generated from secorolab/c_cpp_pkg_template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.clang-tidy
28 lines (28 loc) · 1.14 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
Checks: >
google-*, clang-diagnostic-*, clang-analyzer-*, cppcoreguidelines-*, modernize-*, -modernize-use-trailing-return-type,
bugprone-*, performance-*, readability-identifier-naming, -google-readability-braces-around-statements,
-cppcoreguidelines-avoid-magic-numbers, llvm-header-guard, #magic___^_^___line #magic___^_^___line #magic___^_^___line
WarningsAsErrors: '*'
FormatStyle: file
HeaderFilterRegex: '^.*(?:/usr/include).*'
CheckOptions:
- key: readability-identifier-naming.ClassCase
value: CamelCase
- key: readability-identifier-naming.MethodCase
value: lower_case
- key: readability-identifier-naming.FunctionCase
value: lower_case
- key: readability-identifier-naming.VariableCase
value: camelBack
- key: readability-identifier-naming.ParameterCase
value: CamelCase
- key: readability-identifier-naming.MemberCase
value: CamelCase
- key: readability-identifier-naming.MemberPrefix
value: m
- key: readability-identifier-naming.ClassMemberPrefix
value: c
- key: readability-identifier-naming.ParameterPrefix
value: p
- key: readability-identifier-naming.ConstantCase
value: UPPER_CASE