-
Notifications
You must be signed in to change notification settings - Fork 59
Expand file tree
/
Copy path.clang-tidy
More file actions
20 lines (20 loc) · 1.32 KB
/
.clang-tidy
File metadata and controls
20 lines (20 loc) · 1.32 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Almost identical to the top-level .clang-tidy, except that {Member,Parameter,Variable}Case use camelBack.
Checks: '-*,clang-diagnostic-*,llvm-*,misc-*,-misc-unused-parameters,-misc-non-private-member-variables-in-classes,readability-identifier-naming,-misc-no-recursion,-llvm-else-after-return,-clang-diagnostic-ambiguous-reversed-operator,-misc-confusable-identifiers,-misc-const-correctness,-misc-include-cleaner,-clang-diagnostic-ctad-maybe-unsupported,-clang-diagnostic-missing-designated-field-initializers'
CheckOptions:
- key: readability-identifier-naming.ClassCase
value: CamelCase
- key: readability-identifier-naming.EnumCase
value: CamelCase
- key: readability-identifier-naming.FunctionCase
value: camelBack
- key: readability-identifier-naming.MemberCase
value: camelBack
- key: readability-identifier-naming.ParameterCase
value: camelBack
- key: readability-identifier-naming.UnionCase
value: CamelCase
- key: readability-identifier-naming.VariableCase
value: camelBack
- key: readability-identifier-naming.IgnoreMainLikeFunctions
value: 1
WarningsAsErrors: '*,-clang-diagnostic-ignored-optimization-argument'