Skip to content

Commit 0c4d979

Browse files
authored
style: fix style for LocalConstantCase and LocalConstexprVariableCase (#588)
1 parent a17b61b commit 0c4d979

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.clang-tidy

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,13 @@ CheckOptions:
7575
- key: readability-identifier-naming.ConstantCase
7676
value: UPPER_CASE
7777

78+
# Local const variables
79+
- key: readability-identifier-naming.LocalConstantCase
80+
value: lower_case
81+
82+
- key: readability-identifier-naming.LocalConstexprVariableCase
83+
value: lower_case
84+
7885
# Enum constants
7986
- key: readability-identifier-naming.EnumConstantCase
8087
value: CamelCase

0 commit comments

Comments
 (0)