[clang] [clang] Implement P3144R2 "Deleting a Pointer to an Incomplete Type..." (PR #97733)
via cfe-commits
cfe-commits at lists.llvm.org
Thu Jul 4 07:54:26 PDT 2024
================
@@ -7991,6 +7991,8 @@ def err_ambiguous_delete_operand : Error<
def warn_delete_incomplete : Warning<
"deleting pointer to incomplete type %0 may cause undefined behavior">,
----------------
cor3ntin wrote:
```suggestion
"deleting pointer to incomplete type %0 is incompatible with C++2c and may cause undefined behavior">,
```
https://github.com/llvm/llvm-project/pull/97733
More information about the cfe-commits
mailing list