This is an automated email from the ASF dual-hosted git repository.

gangwu pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/iceberg-cpp.git


The following commit(s) were added to refs/heads/main by this push:
     new abf1c1d  feat: clang-tidy checks private and protected member suffix 
(#309)
abf1c1d is described below

commit abf1c1dd168a96b69cb7b6d88427d09722932777
Author: Zehua Zou <[email protected]>
AuthorDate: Tue Nov 11 17:41:49 2025 +0800

    feat: clang-tidy checks private and protected member suffix (#309)
---
 .clang-tidy | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/.clang-tidy b/.clang-tidy
index cca8dfe..8839621 100644
--- a/.clang-tidy
+++ b/.clang-tidy
@@ -21,6 +21,7 @@ Checks: |
   clang-analyzer-*,
   google-*,
   modernize-*,
+  readability-identifier-naming,
   -modernize-use-nodiscard,
   -modernize-use-trailing-return-type,
 
@@ -33,5 +34,9 @@ CheckOptions:
     value:  '10'
   - key:    google-readability-namespace-comments.SpacesBeforeComments
     value:  '2'
+  - key:    readability-identifier-naming.PrivateMemberSuffix
+    value:  '_'
+  - key:    readability-identifier-naming.ProtectedMemberSuffix
+    value:  '_'
 
-HeaderFilterRegex: '(src|test|example)'
+HeaderFilterRegex: '(?!_deps)(src|test|example)'

Reply via email to