[clang] [Clang] Introduce malloc_span attribute (PR #167010)
Aleksandr Nogikh via cfe-commits
cfe-commits at lists.llvm.org
Thu Nov 13 02:56:18 PST 2025
================
@@ -1839,6 +1839,41 @@ static void handleRestrictAttr(Sema &S, Decl *D, const ParsedAttr &AL) {
RestrictAttr(S.Context, AL, DeallocE, DeallocPtrIdx));
}
+static bool isSpanLikeType(const QualType &Ty) {
----------------
a-nogikh wrote:
Renamed to `checkSpanLikeType`.
https://github.com/llvm/llvm-project/pull/167010
More information about the cfe-commits
mailing list