xref: /llvm-project/libc/.clang-tidy (revision 6f8d826b746242802a2368cac26896dfebd6f5a1)
1InheritParentConfig: false
2Checks: 'readability-identifier-naming'
3HeaderFilterRegex: '.*'
4CheckOptions:
5  - key:             readability-identifier-naming.ClassCase
6    value:           CamelCase
7  - key:             readability-identifier-naming.StructCase
8    value:           aNy_CasE
9  - key:             readability-identifier-naming.MemberCase
10    value:           lower_case
11  - key:             readability-identifier-naming.MemberIgnoredRegexp
12    value:           "_?(_[A-Za-z0-9]+)*"
13  - key:             readability-identifier-naming.VariableCase
14    value:           lower_case
15  - key:             readability-identifier-naming.VariableIgnoredRegexp
16    value:           "_?(_[A-Za-z0-9]+)*"
17  - key:             readability-identifier-naming.FunctionCase
18    value:           lower_case
19  - key:             readability-identifier-naming.FunctionIgnoredRegexp
20    value:           "_?(_[A-Za-z0-9]+)*"
21  - key:             readability-identifier-naming.GlobalConstantCase
22    value:           UPPER_CASE
23  - key:             readability-identifier-naming.LocalConstantIgnoredRegexp
24    value:           "[A-Z]+[A-Z0-9]*(_[A-Z0-9]+)*"
25  - key:             readability-identifier-naming.ClassConstantCase
26    value:           UPPER_CASE
27  - key:             readability-identifier-naming.ConstexprVariableCase
28    value:           UPPER_CASE
29  - key:             readability-identifier-naming.ConstexprFunctionCase
30    value:           lower_case
31  - key:             readability-identifier-naming.GetConfigPerFile
32    value:           true
33