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

2023-08-09 Thread DianQK via Phabricator via cfe-commits
DianQK abandoned this revision. DianQK added a comment. Track this issue at https://github.com/llvm/llvm-project/issues/60717. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D157227/new/ https://reviews.llvm.org/D157227 _

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

2023-08-07 Thread DianQK via Phabricator via cfe-commits
DianQK added a comment. In D157227#4564817 , @nikic wrote: > 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 actu

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

2023-08-06 Thread DianQK via Phabricator via cfe-commits
DianQK created this revision. Herald added subscribers: atanasyan, jrtc27. Herald added a reviewer: aaron.ballman. Herald added a project: All. DianQK requested review of this revision. Herald added subscribers: cfe-commits, wangpc. Herald added a project: clang. The current implementation of `ope