[clang] [clang] [SemaCXX] Disallow deducing "this" on operator `new` and `delete` (PR #82251)

via cfe-commits cfe-commits at lists.llvm.org
Mon Feb 19 15:06:03 PST 2024


================
@@ -254,6 +254,8 @@ Bug Fixes to C++ Support
   Fixes (`#68490 <https://github.com/llvm/llvm-project/issues/68490>`_)
 - Fix a crash when trying to call a varargs function that also has an explicit object parameter.
   Fixes (`#80971 ICE when explicit object parameter be a function parameter pack`)
+- Reject explicit object parameters on implicitly static member functions.
----------------
cor3ntin wrote:

```suggestion
- Reject explicit object parameters on `new` and `delete` operators
```

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


More information about the cfe-commits mailing list