diff --git a/.clang-tidy b/.clang-tidy index cca8dfef5..883962125 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)'