================
@@ -26,14 +26,20 @@ getCountAttrKind(bool CountInBytes, bool OrNull) {
: CountAttributedType::CountedBy;
}
+// Check if a RecordDecl is anonymous or will be anonymous once processing
+// completes. The anonymous flag may not be set yet during parsing.
+static bool IsAnonymousOrWillBeAnonymous(const RecordDecl *RD) {
----------------
bwendling wrote:
This says it should start with lowercase
(https://llvm.org/docs/CodingStandards.html#name-types-functions-variables-and-enumerators-properly),
but I've seen lots of examples (even in my own code) where it isn't like that.
https://github.com/llvm/llvm-project/pull/171996
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits