Support: Use std::unique_ptr for SignpostEmitter::Impl, NFC
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Thu, 8 Apr 2021 23:04:55 +0000 (16:04 -0700)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Thu, 8 Apr 2021 23:31:59 +0000 (16:31 -0700)
commit022ccedde8877e877b45e49641544b5e4fff0b42
tree17f70b14fe6c895f6ec5f6ba375f4aef3e2862a5
parent429088b9e214b2f39f6063a6b3639560fc7db47b
Support: Use std::unique_ptr for SignpostEmitter::Impl, NFC

Replace some manual memory management with std::unique_ptr.

Differential Revision: https://reviews.llvm.org/D100151
llvm/include/llvm/Support/Signposts.h
llvm/lib/Support/Signposts.cpp