[all-commits] [llvm/llvm-project] e0c356: [NFC][clang] Replace raw new/delete with unique_pt...

jasonliudev via All-commits all-commits at lists.llvm.org
Thu Apr 30 05:33:41 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: e0c356582d2fc32ac3f70580b07bcf809d46a0b8
      https://github.com/llvm/llvm-project/commit/e0c356582d2fc32ac3f70580b07bcf809d46a0b8
  Author: jasonliu <jasonliu.development at gmail.com>
  Date:   2020-04-30 (Thu, 30 Apr 2020)

  Changed paths:
    M clang/lib/CodeGen/TargetInfo.cpp
    M clang/lib/CodeGen/TargetInfo.h

  Log Message:
  -----------
  [NFC][clang] Replace raw new/delete with unique_ptr to store ABIInfo in TargetCodeGenInfo

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

Reviewed By: hubert.reinterpretcast

Differential Revision: https://reviews.llvm.org/D79033




More information about the All-commits mailing list