mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-16 14:56:39 +00:00

Codify that we use lower_case for readability-identifier-naming.ConstexprFunctionCase and then fix the 11 violations (rather than codify UPPER_CASE and have to fix the 170 violations).
33 lines
1.5 KiB
YAML
33 lines
1.5 KiB
YAML
InheritParentConfig: false
|
|
Checks: 'readability-identifier-naming'
|
|
HeaderFilterRegex: '.*'
|
|
CheckOptions:
|
|
- key: readability-identifier-naming.ClassCase
|
|
value: CamelCase
|
|
- key: readability-identifier-naming.StructCase
|
|
value: aNy_CasE
|
|
- key: readability-identifier-naming.MemberCase
|
|
value: lower_case
|
|
- key: readability-identifier-naming.MemberIgnoredRegexp
|
|
value: "_?(_[A-Za-z0-9]+)*"
|
|
- key: readability-identifier-naming.VariableCase
|
|
value: lower_case
|
|
- key: readability-identifier-naming.VariableIgnoredRegexp
|
|
value: "_?(_[A-Za-z0-9]+)*"
|
|
- key: readability-identifier-naming.FunctionCase
|
|
value: lower_case
|
|
- key: readability-identifier-naming.FunctionIgnoredRegexp
|
|
value: "_?(_[A-Za-z0-9]+)*"
|
|
- key: readability-identifier-naming.GlobalConstantCase
|
|
value: UPPER_CASE
|
|
- key: readability-identifier-naming.LocalConstantIgnoredRegexp
|
|
value: "[A-Z]+[A-Z0-9]*(_[A-Z0-9]+)*"
|
|
- key: readability-identifier-naming.ClassConstantCase
|
|
value: UPPER_CASE
|
|
- key: readability-identifier-naming.ConstexprVariableCase
|
|
value: UPPER_CASE
|
|
- key: readability-identifier-naming.ConstexprFunctionCase
|
|
value: lower_case
|
|
- key: readability-identifier-naming.GetConfigPerFile
|
|
value: true
|