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

Alexander Kornienko via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 23 18:02:57 PDT 2025


alexfh wrote:

There are two issues:
1. an assertion failure in Clang: `assertion failed at clang/lib/CodeGen/CGExprCXX.cpp:1428 in UsualDeleteParams getUsualDeleteParams(const FunctionDecl *): AI == AE && "unexpected usual deallocation function parameter"`
2. `no suitable member 'operator delete' in 'X'` when compiling valid code

Both are only manifesting with header modules.

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


More information about the cfe-commits mailing list