Update .clang-tidy.
This commit is contained in:
parent
cca3a4a239
commit
aabcb46602
23
.clang-tidy
23
.clang-tidy
|
@ -1,5 +1,5 @@
|
||||||
# -*- mode: conf; fill-column: 100; -*-
|
# -*- mode: conf; fill-column: 100; -*-
|
||||||
# Written for clang-tidy 9.
|
# Written for clang-tidy 11.
|
||||||
|
|
||||||
---
|
---
|
||||||
Checks: '*,
|
Checks: '*,
|
||||||
|
@ -26,19 +26,20 @@ Checks: '*,
|
||||||
-fuchsia-statically-constructed-objects,
|
-fuchsia-statically-constructed-objects,
|
||||||
-google-readability-todo,
|
-google-readability-todo,
|
||||||
-modernize-use-trailing-return-type,
|
-modernize-use-trailing-return-type,
|
||||||
-fuchsia-multiple-inheritance'
|
-fuchsia-multiple-inheritance,
|
||||||
CheckOptions: - { key: readability-identifier-naming.ClassCase, value: CamelCase }
|
-llvmlibc*'
|
||||||
# Clashes with constant private member prefix. (const int _var;)
|
FormatStyle: file # Use .clang-format.
|
||||||
# - { key: readability-identifier-naming.ConstantCase, value: lower_case }
|
CheckOptions: # ↓ Clashes with static private member prefix. (static int _var;) ↓
|
||||||
- { key: readability-identifier-naming.EnumCase, value: lower_case }
|
- { key: readability-identifier-naming.VariableCase, value: lower_case }
|
||||||
- { key: readability-identifier-naming.FunctionCase, value: lower_case }
|
|
||||||
- { key: readability-identifier-naming.MemberCase, value: lower_case }
|
- { key: readability-identifier-naming.MemberCase, value: lower_case }
|
||||||
- { key: readability-identifier-naming.ParameterCase, value: lower_case }
|
|
||||||
- { key: readability-identifier-naming.PrivateMemberCase, value: lower_case }
|
- { key: readability-identifier-naming.PrivateMemberCase, value: lower_case }
|
||||||
- { key: readability-identifier-naming.PrivateMemberPrefix, value: _ }
|
- { key: readability-identifier-naming.PrivateMemberPrefix, value: _ }
|
||||||
- { key: readability-identifier-naming.ProtextedMemberCase, value: lower_case }
|
- { key: readability-identifier-naming.ProtectedMemberCase, value: lower_case }
|
||||||
- { key: readability-identifier-naming.ProtectedMemberPrefix, value: _ }
|
- { key: readability-identifier-naming.ProtectedMemberPrefix, value: _ }
|
||||||
|
|
||||||
|
- { key: readability-identifier-naming.ClassCase, value: CamelCase }
|
||||||
- { key: readability-identifier-naming.StructCase, value: lower_case }
|
- { key: readability-identifier-naming.StructCase, value: lower_case }
|
||||||
# Clashes with static private member prefix. (static int _var;)
|
- { key: readability-identifier-naming.EnumCase, value: lower_case }
|
||||||
# - { key: readability-identifier-naming.VariableCase, value: lower_case }
|
- { key: readability-identifier-naming.FunctionCase, value: lower_case }
|
||||||
|
- { key: readability-identifier-naming.ParameterCase, value: lower_case }
|
||||||
...
|
...
|
||||||
|
|
Loading…
Reference in New Issue
Block a user