aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordundargoc <33953936+dundargoc@users.noreply.github.com>2022-10-14 15:15:10 +0200
committerGitHub <noreply@github.com>2022-10-14 15:15:10 +0200
commit0a19c1677877843d50cea6dec150acde50df356c (patch)
tree2a0774ccbc6544c2139a115f47837d01bb8dd417
parent81986a7349da7b88abde459194078e9893e8ae8b (diff)
downloadrneovim-0a19c1677877843d50cea6dec150acde50df356c.tar.gz
rneovim-0a19c1677877843d50cea6dec150acde50df356c.tar.bz2
rneovim-0a19c1677877843d50cea6dec150acde50df356c.zip
build: fix incorrect clang-tidy identifier rules (#20650)
Also remove identifier rules that are C++ only.
-rw-r--r--.clang-tidy27
1 files changed, 14 insertions, 13 deletions
diff --git a/.clang-tidy b/.clang-tidy
index 0861df9435..040ceea843 100644
--- a/.clang-tidy
+++ b/.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: ''