================
@@ -8392,17 +8392,19 @@ def ext_default_init_const : ExtWarn<
   "is a Microsoft extension">,
   InGroup<MicrosoftConstInit>;
 def err_delete_operand : Error<"cannot delete expression of type %0">;
+def err_delete_void_ptr_operand : Error<
+  "cannot delete expression with pointer-to-'void' type %0">;
----------------
cor3ntin wrote:

It would be more consistent to say type 'void*'
There are just a couple of diagnostics mentioning "pointer to void" - but we 
never say pointer-to-void, let alone "pointer-to-'void' - that way it can be 
merged with `err_delete_incomplete ie `{|class}` or `{|class|union}` (see below)

https://github.com/llvm/llvm-project/pull/149406
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to