[clang] More fixes for P3144R2 implementation (PR #149406)
Harald van Dijk via cfe-commits
cfe-commits at lists.llvm.org
Fri Jul 18 08:31:51 PDT 2025
================
@@ -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">;
----------------
hvdijk wrote:
This text is literally copied and pasted from what it says directly below for the pre-C++26 case where it is a warning rather than an error, it's not true that we never say pointer-to-void.
https://github.com/llvm/llvm-project/pull/149406
More information about the cfe-commits
mailing list