[clang] [Clang] Fix crash during constexpr virtual destructor evaluation (PR #238088)

Daniel Petrovic via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 2 23:47:35 PST 2026


daniel-petrovic wrote:

> Please make sure there's also a -fexperimental-new-constant-interpreter test.

Thanks for taking a look on this. The crash is specific to the current interpreter, so the SemaCXX test already guards that fix. The new interpreter already rejects this input (in C++23 mode), so a test would only pin the existing behaviour rather than guard a patch. If you mean parity coverage,  I would add a short C++23 test in AST/ByteCode that runs both interpreters. Let me know.

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


More information about the cfe-commits mailing list