diff options
author | dundargoc <33953936+dundargoc@users.noreply.github.com> | 2022-10-14 15:15:10 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-14 15:15:10 +0200 |
commit | 0a19c1677877843d50cea6dec150acde50df356c (patch) | |
tree | 2a0774ccbc6544c2139a115f47837d01bb8dd417 | |
parent | 81986a7349da7b88abde459194078e9893e8ae8b (diff) | |
download | rneovim-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-tidy | 27 |
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: '' |