[PATCH] D157227: [Clang] Don't add `undef` for `operator new` under -fno-exceptions.

Nikita Popov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 7 01:28:04 PDT 2023


nikic requested changes to this revision.
nikic added a comment.
This revision now requires changes to proceed.

Removing noundef makes no sense to me, because the return value is noundef even under fno-exceptions. If we remove something, it should be the nonnull attribute, because that's what's actually being violated.

@ldionne Can you give us an ETA on D150610 <https://reviews.llvm.org/D150610> please? Do we need to introduce a workaround for this libcxx bug in clang, or do you plan to fix this in the near future?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D157227/new/

https://reviews.llvm.org/D157227



More information about the cfe-commits mailing list