Skip to content

Commit b57dd1f

Browse files
committed
Enable various naming checks in clang-tidy
1 parent e891b0a commit b57dd1f

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.clang-tidy

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,4 +106,26 @@ CheckOptions:
106106
value: true
107107
- key: bugprone-empty-catch.IgnoreCatchWithKeywords
108108
value: "@todo;@fixme;exception ignored on purpose"
109+
- key: readability-identifier-naming.ClassCase
110+
value: lower_case
111+
- key: readability-identifier-naming.ClassSuffix
112+
value: _t
113+
- key: readability-identifier-naming.PrivateMemberPrefix
114+
value: m_
115+
- key: readability-identifier-naming.StructCase
116+
value: lower_case
117+
- key: readability-identifier-naming.EnumCase
118+
value: lower_case
119+
- key: readability-identifier-naming.FunctionCase
120+
value: lower_case
121+
- key: readability-identifier-naming.FunctionIgnoredRegexp
122+
value: luaX.*
123+
- key: readability-identifier-naming.VariableCase
124+
value: lower_case
125+
- key: readability-identifier-naming.ConstexprVariableCase
126+
value: UPPER_CASE
127+
- key: readability-identifier-naming.GlobalConstantCase
128+
value: UPPER_CASE
129+
- key: readability-identifier-naming.NamespaceCase
130+
value: lower_case
109131
...

0 commit comments

Comments
 (0)