[clang] [RFC] Initial implementation of P2719 (PR #113510)

via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 30 02:29:59 PST 2025


================
@@ -3849,7 +4119,15 @@ Sema::ActOnCXXDelete(SourceLocation StartLoc, bool UseGlobal,
     // delete. This is only necessary if we selected a destroying operator
     // delete that we are going to call (non-virtually); converting to void*
     // is trivial and left to AST consumers to handle.
-    QualType ParamType = OperatorDelete->getParamDecl(0)->getType();
+    unsigned PointeeIndex = 0;
----------------
cor3ntin wrote:

```suggestion
    unsigned AddressParamIdx = 0;
```
That reflects the wording better

https://github.com/llvm/llvm-project/pull/113510


More information about the cfe-commits mailing list