[PATCH] D123085: CGExprCXX: emit allocptr attributes for operator delete

Augie Fackler via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 4 15:17:30 PDT 2022


durin42 created this revision.
Herald added a project: All.
durin42 requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

With this change, we're almost ready to drop the entire table out of
MemoryBuiltins.cpp and rely solely on attributes to detect allocator
functions.

Depends on D123084 <https://reviews.llvm.org/D123084>


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D123085

Files:
  clang/lib/CodeGen/CGExprCXX.cpp
  clang/test/CodeGenCXX/cxx1y-sized-deallocation.cpp
  clang/test/CodeGenCXX/cxx1z-aligned-allocation.cpp
  clang/test/CodeGenCXX/delete-two-arg.cpp
  clang/test/CodeGenCXX/delete.cpp
  clang/test/CodeGenCXX/exceptions.cpp
  clang/test/CodeGenCXX/microsoft-abi-structors.cpp

STAMPS
actor(@durin42) application(Differential) author(@durin42) herald(H343) herald(H423) herald(H576) herald(H678) herald(H864) monogram(D123085) object-type(DREV) phid(PHID-DREV-cgee2pk3uj3hbw3hynvx) revision-repository(rG) revision-status(needs-review) subscriber(@cfe-commits) tag(#all) tag(#clang) via(conduit)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D123085.420324.patch
Type: text/x-patch
Size: 13465 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220404/400320c6/attachment-0001.bin>


More information about the cfe-commits mailing list