瀏覽代碼

Adjust .clang-tidy for public struct member names

Vincent Lang 9 年之前
父節點
當前提交
40be8ac9a2
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3 1
      .clang-tidy

+ 3 - 1
.clang-tidy

@@ -16,7 +16,9 @@ CheckOptions:
       value: g_
     - key: readability-identifier-naming.VariableCase
       value: camelBack
-    - key: readability-identifier-naming.MemberPrefix
+    - key: readability-identifier-naming.PrivateMemberPrefix
+      value: m_
+    - key: readability-identifier-naming.ProtectedMemberPrefix
       value: m_
     - key: readability-identifier-naming.MemberCase
       value: camelBack