OSDN Git Service

drm_hwcomposer: Update readability-identifier-naming rules
authorRoman Stratiienko <roman.o.stratiienko@globallogic.com>
Fri, 24 Dec 2021 16:56:17 +0000 (18:56 +0200)
committerRoman Stratiienko <roman.o.stratiienko@globallogic.com>
Wed, 12 Jan 2022 08:33:55 +0000 (10:33 +0200)
Sync local rules with github gist [1] revision 7.

[1]: https://gist.github.com/airglow923/1fa3bda42f2b193920d7f46ee8345e04
Signed-off-by: Roman Stratiienko <roman.o.stratiienko@globallogic.com>
.clang-tidy

index 221c030..4bd8ff7 100644 (file)
@@ -50,8 +50,10 @@ CheckOptions:
     value:           '^[A-Z]+(_[A-Z]+)*_$'
   - key:             readability-identifier-naming.MemberCase
     value:           lower_case
-  - key:             readability-identifier-naming.MemberSuffix
+  - key:             readability-identifier-naming.PrivateMemberSuffix
     value:           _
+  - key:             readability-identifier-naming.PublicMemberSuffix
+    value:           ''
   - key:             readability-identifier-naming.NamespaceCase
     value:           lower_case
   - key:             readability-identifier-naming.ParameterCase