llvmorg-github-actions[bot] wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-clang-tools-extra
Author: Carlos Galvez (carlosgalvezp)
<details>
<summary>Changes</summary>
…members
This appears to be the intention based on the code:
```cpp
if (Var->isStaticDataMember() && NamingStyles[SK_ClassMember])
return SK_ClassMember;
```
Fixes #<!-- -->227319
---
Full diff: https://github.com/llvm/llvm-project/pull/227600.diff
1 Files Affected:
- (modified)
clang-tools-extra/docs/clang-tidy/checks/readability/identifier-naming.md
(+5-5)
``````````diff
diff --git
a/clang-tools-extra/docs/clang-tidy/checks/readability/identifier-naming.md
b/clang-tools-extra/docs/clang-tidy/checks/readability/identifier-naming.md
index 8e230965690b61..feddea34057dd0 100644
--- a/clang-tools-extra/docs/clang-tidy/checks/readability/identifier-naming.md
+++ b/clang-tools-extra/docs/clang-tidy/checks/readability/identifier-naming.md
@@ -667,35 +667,35 @@ public:
(readability-identifier-naming-class-member-case)=
```{option} ClassMemberCase
-When defined, the check will ensure class member names conform to the
+When defined, the check will ensure static class member names conform to the
selected casing.
```
(readability-identifier-naming-class-member-prefix)=
```{option} ClassMemberPrefix
-When defined, the check will ensure class member names will add the
+When defined, the check will ensure static class member names will add the
prefix with the given value (regardless of casing).
```
(readability-identifier-naming-class-member-ignored-regexp)=
```{option} ClassMemberIgnoredRegexp
-Identifier naming checks won't be enforced for class member names
+Identifier naming checks won't be enforced for static class member names
matching this regular expression.
```
(readability-identifier-naming-class-member-suffix)=
```{option} ClassMemberSuffix
-When defined, the check will ensure class member names will add the
+When defined, the check will ensure static class member names will add the
suffix with the given value (regardless of casing).
```
(readability-identifier-naming-class-member-hungarian-prefix)=
```{option} ClassMemberHungarianPrefix
-When enabled, the check ensures that the declared identifier will
+When enabled, the check ensures that the declared static class member will
have a Hungarian notation prefix based on the declared type.
```
``````````
</details>
https://github.com/llvm/llvm-project/pull/227600
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits