================
@@ -6727,6 +6727,9 @@ def err_vm_func_decl : Error<
   "function declaration cannot have variably modified type">;
 def err_array_too_large : Error<
   "array is too large (%0 elements)">;
+def err_array_size_too_large : Error<
+  "array is too large (%0 bytes), which exceeds maximum allowed size of "
+  "%1 bytes">;
----------------
shafik wrote:

I think we should stick w/ the `err_array_too_large` too large format and not 
try and be too fancy.

https://github.com/llvm/llvm-project/pull/219817
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to