[packaging] Enable build in Clang environment
[platform/upstream/llvm.git] / .clang-tidy
1 Checks: '-*,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'
2 CheckOptions:
3   - key:             readability-identifier-naming.ClassCase
4     value:           CamelCase
5   - key:             readability-identifier-naming.EnumCase
6     value:           CamelCase
7   - key:             readability-identifier-naming.FunctionCase
8     value:           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
12     value:           "LLVMFuzzerTestOneInput"
13   - key:             readability-identifier-naming.MemberCase
14     value:           CamelCase
15   - key:             readability-identifier-naming.ParameterCase
16     value:           CamelCase
17   - key:             readability-identifier-naming.UnionCase
18     value:           CamelCase
19   - key:             readability-identifier-naming.VariableCase
20     value:           CamelCase
21   - key:             readability-identifier-naming.IgnoreMainLikeFunctions
22     value:           1
23   - key:             readability-redundant-member-init.IgnoreBaseInCopyConstructors
24     value:           1
25   - key:             modernize-use-default-member-init.UseAssignment
26     value:           1