================
@@ -9688,6 +9688,28 @@ static void assignInheritanceModel(Sema &S,
CXXRecordDecl *RD) {
}
}
+/// Return the (possibly nested) constant array type in \p T whose size cannot
+/// be represented, if any. BuildArrayType can only check the element count if
+/// the element type is still incomplete when the array type is formed.
+static const ConstantArrayType *findArrayTypeTooLarge(const ASTContext
&Context,
----------------
erichkeane wrote:
this name is super weird/inconsistent with our naming of things? Don't do
that... And better describe what it is doing.
https://github.com/llvm/llvm-project/pull/219817
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits