From 47a14c904105857cc74c61852cb26d00f0587ead Mon Sep 17 00:00:00 2001 From: pajlada Date: Mon, 15 Jan 2024 21:31:40 +0100 Subject: [PATCH] clang-tidy: Make protected & private suffix underscore optional (#5090) --- .clang-tidy | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.clang-tidy b/.clang-tidy index f389990be..170ad019a 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -45,11 +45,9 @@ CheckOptions: - key: readability-identifier-naming.MemberCase value: camelBack - key: readability-identifier-naming.PrivateMemberIgnoredRegexp - value: .* - - key: readability-identifier-naming.PrivateMemberSuffix - value: _ - - key: readability-identifier-naming.ProtectedMemberSuffix - value: _ + value: ^.*_$ + - key: readability-identifier-naming.ProtectedMemberIgnoredRegexp + value: ^.*_$ - key: readability-identifier-naming.UnionCase value: CamelCase - key: readability-identifier-naming.GlobalConstantCase