[clang] [clang][bytecode] Fix calling operator new with nothrow/align parameter (PR #144271)

Oliver Hunt via cfe-commits cfe-commits at lists.llvm.org
Sun Jun 15 13:02:08 PDT 2025


https://github.com/ojhunt approved this pull request.

Looks reasonable to me -- I spent a bunch of time trying to induce some case where this would do the wrong thing and I couldn't come up with anything as all the failure modes that would be possible outside of constexpr already fail in const eval due to them inherently triggering UB.

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


More information about the cfe-commits mailing list