================
@@ -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">;
----------------
zwuis wrote:

> But the operator is pointed at by `^`

This part can be removed by using `-fno-caret-diagnostics` command line option. 
In this case, the diagnostic is as followed:

```txt
test.cxx:13:23: error: array prvalue is not permitted
```

Users may get confused.

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

Reply via email to