From b57dd1f60bdf2d4201c3cfb3cc33fa122cc61a1d Mon Sep 17 00:00:00 2001 From: Jochen Topf Date: Fri, 22 Aug 2025 20:41:54 +0200 Subject: [PATCH] Enable various naming checks in clang-tidy --- .clang-tidy | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/.clang-tidy b/.clang-tidy index 31c6fedeb..12cb5d635 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -106,4 +106,26 @@ CheckOptions: value: true - key: bugprone-empty-catch.IgnoreCatchWithKeywords value: "@todo;@fixme;exception ignored on purpose" + - key: readability-identifier-naming.ClassCase + value: lower_case + - key: readability-identifier-naming.ClassSuffix + value: _t + - key: readability-identifier-naming.PrivateMemberPrefix + value: m_ + - key: readability-identifier-naming.StructCase + value: lower_case + - key: readability-identifier-naming.EnumCase + value: lower_case + - key: readability-identifier-naming.FunctionCase + value: lower_case + - key: readability-identifier-naming.FunctionIgnoredRegexp + value: luaX.* + - key: readability-identifier-naming.VariableCase + value: lower_case + - key: readability-identifier-naming.ConstexprVariableCase + value: UPPER_CASE + - key: readability-identifier-naming.GlobalConstantCase + value: UPPER_CASE + - key: readability-identifier-naming.NamespaceCase + value: lower_case ...