[all-commits] [llvm/llvm-project] ab5932: [llvm-objdump] Use std::make_unique

Tim Renouf via All-commits all-commits at lists.llvm.org
Thu May 6 01:11:19 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ab5932ffbd91b3989e20344cf104abe7c0cad1ae
      https://github.com/llvm/llvm-project/commit/ab5932ffbd91b3989e20344cf104abe7c0cad1ae
  Author: Tim Renouf <tim.renouf at amd.com>
  Date:   2021-05-06 (Thu, 06 May 2021)

  Changed paths:
    M llvm/tools/llvm-objdump/llvm-objdump.cpp

  Log Message:
  -----------
  [llvm-objdump] Use std::make_unique

Fix up my recent commit rG1128311a19179ceca799ff0fbc4dd206ab56e560 to
use std::make_unique instead of std::unique_ptr(new), as requested by
David Blaikie.

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




More information about the All-commits mailing list