[PATCH] D79033: [NFC][clang] Replace raw new/delete with unique_ptr to store ABIInfo in TargetCodeGenInfo

Jason Liu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 28 12:23:55 PDT 2020


jasonliu created this revision.
jasonliu added reviewers: hubert.reinterpretcast, sfertile, nemanjai, Xiangling_L.
Herald added subscribers: s.egerton, simoncook, fedor.sergeev, aheejin, dschuff.
Herald added a project: clang.

Use unique_ptr to manage the lifetime of ABIInfo member inside TargetCodeGenInfo.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D79033

Files:
  clang/lib/CodeGen/TargetInfo.cpp
  clang/lib/CodeGen/TargetInfo.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D79033.260724.patch
Type: text/x-patch
Size: 10866 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200428/e99d7413/attachment.bin>


More information about the cfe-commits mailing list