[clang] Reapply [Clang] Mark new as inaccessiblememonly if sane (PR #217652)

Nikita Popov via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 17 06:48:35 PDT 2026


nikic wrote:

Thanks for the report. I thought the code I was changing already handled that, but apparently it's EmitNewDeleteCall() that adds the `builtin` attribute for uses of `new` (as opposed to `::operator new`). This new logic should probably live there as well.

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


More information about the cfe-commits mailing list