[clang] [Bounds-Safety] Add sized_by, counted_by_or_null & sized_by_or_null (PR #93231)
Dan Liew via cfe-commits
cfe-commits at lists.llvm.org
Mon Jul 8 09:15:33 PDT 2024
================
@@ -8320,6 +8320,15 @@ static const RecordDecl *GetEnclosingNamedOrTopAnonRecord(const FieldDecl *FD) {
return RD;
}
+static CountAttributedType::DynamicCountPointerKind
+getCountAttrKind(bool CountInBytes, bool OrNull) {
----------------
delcypher wrote:
Nit. Should this be a class method on `CountAttributedType`?
https://github.com/llvm/llvm-project/pull/93231
More information about the cfe-commits
mailing list