diff options
author | Nikolas Klauser <nikolasklauser@berlin.de> | 2022-09-02 16:19:07 +0200 |
---|---|---|
committer | Nikolas Klauser <nikolasklauser@berlin.de> | 2022-09-02 21:36:36 +0200 |
commit | 84fc2c3cd62ab5be51d65f818854bb031b74c0f2 (patch) | |
tree | c4bd63eb14e5c427b814924a76dc72951d68daa5 /libcxx/.clang-tidy | |
parent | 3c355e2881887fea6f4b31e26b68aefa4d216fd0 (diff) | |
download | llvm-84fc2c3cd62ab5be51d65f818854bb031b74c0f2.tar.gz |
[libc++] Make the naming of private member variables consistent and enforce it through readability-identifier-naming
Reviewed By: ldionne, #libc
Spies: aheejin, sstefan1, libcxx-commits
Differential Revision: https://reviews.llvm.org/D129386
Diffstat (limited to 'libcxx/.clang-tidy')
-rw-r--r-- | libcxx/.clang-tidy | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libcxx/.clang-tidy b/libcxx/.clang-tidy index c8798af378ca..88b9de1f56a8 100644 --- a/libcxx/.clang-tidy +++ b/libcxx/.clang-tidy @@ -39,6 +39,12 @@ CheckOptions: value: lower_case - key: readability-identifier-naming.ParameterPrefix value: __ + - key: readability-identifier-naming.PrivateMemberCase + value: lower_case + - key: readability-identifier-naming.PrivateMemberPrefix + value: __ + - key: readability-identifier-naming.PrivateMemberSuffix + value: _ # TODO: investigate these checks # bugprone-branch-clone, |