llvm-project
/
.clang-tidy
26 строк · 1.4 Кб
1Checks: '-*,clang-diagnostic-*,llvm-*,misc-*,-misc-const-correctness,-misc-unused-parameters,-misc-non-private-member-variables-in-classes,-misc-no-recursion,-misc-use-anonymous-namespace,readability-identifier-naming,-misc-include-cleaner'
2CheckOptions:
3- key: readability-identifier-naming.ClassCase
4value: CamelCase
5- key: readability-identifier-naming.EnumCase
6value: CamelCase
7- key: readability-identifier-naming.FunctionCase
8value: camelBack
9# Exclude from scanning as this is an exported symbol used for fuzzing
10# throughout the code base.
11- key: readability-identifier-naming.FunctionIgnoredRegexp
12value: "LLVMFuzzerTestOneInput"
13- key: readability-identifier-naming.MemberCase
14value: CamelCase
15- key: readability-identifier-naming.ParameterCase
16value: CamelCase
17- key: readability-identifier-naming.UnionCase
18value: CamelCase
19- key: readability-identifier-naming.VariableCase
20value: CamelCase
21- key: readability-identifier-naming.IgnoreMainLikeFunctions
22value: 1
23- key: readability-redundant-member-init.IgnoreBaseInCopyConstructors
24value: 1
25- key: modernize-use-default-member-init.UseAssignment
26value: 1
27