================ @@ -7639,6 +7639,8 @@ def warn_param_mismatched_alignment : Warning< def err_objc_object_assignment : Error< "cannot assign to class object (%0 invalid)">; +def err_typecheck_array_prvalue_operand : Error< + "array prvalue is not permitted">; ---------------- languagelawyer wrote:
@zwuis is `"operand cannot be an array prvalue"` ok? Comparing to an existing error: ```c++ IA{ 1, 2, 3 } + 0.; IA{ 1, 2, 3 } + 0; ``` ``` test.cxx:5:16: error: invalid operands to binary expression ('int[3]' and 'double') test.cxx:6:16: error: operand cannot be an array prvalue ``` https://github.com/llvm/llvm-project/pull/140702 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits