mirror of
https://github.com/neovim/neovim.git
synced 2024-12-23 12:45:17 -07:00
build: fix incorrect clang-tidy identifier rules (#20650)
Also remove identifier rules that are C++ only.
This commit is contained in:
parent
81986a7349
commit
0a19c16778
27
.clang-tidy
27
.clang-tidy
@ -36,19 +36,20 @@ Checks: >
|
||||
-readability-suspicious-call-argument,
|
||||
|
||||
CheckOptions:
|
||||
readability-identifier-naming.ClassMemberCase: lower_case
|
||||
readability-identifier-naming.ClassMemberSuffix: _
|
||||
readability-identifier-naming.FunctionCase: lower_case
|
||||
readability-identifier-naming.GlobalConstantCase: CamelCase
|
||||
readability-identifier-naming.GlobalConstantPrefix: k
|
||||
readability-identifier-naming.MemberConstantCase: CamelCase
|
||||
readability-identifier-naming.MemberConstantPrefix: k
|
||||
readability-identifier-naming.NamespaceCase: lower_case
|
||||
readability-identifier-naming.StaticConstantCase: CamelCase
|
||||
readability-identifier-naming.StaticConstantPrefix: k
|
||||
readability-identifier-naming.StructCase: CamelCase
|
||||
readability-identifier-naming.TemplateParameterCase: CamelCase
|
||||
readability-identifier-naming.VariableCase: lower_case
|
||||
- key: readability-identifier-naming.FunctionCase
|
||||
value: lower_case
|
||||
- key: readability-identifier-naming.GlobalConstantCase
|
||||
value: CamelCase
|
||||
- key: readability-identifier-naming.GlobalConstantPrefix
|
||||
value: k
|
||||
- key: readability-identifier-naming.StaticConstantCase
|
||||
value: CamelCase
|
||||
- key: readability-identifier-naming.StaticConstantPrefix
|
||||
value: k
|
||||
- key: readability-identifier-naming.StructCase
|
||||
value: CamelCase
|
||||
- key: readability-identifier-naming.VariableCase
|
||||
value: lower_case
|
||||
|
||||
WarningsAsErrors: ''
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user