This is an archive of the discontinued LLVM Phabricator instance.

Support: Use std::unique_ptr for SignpostEmitter::Impl, NFC
ClosedPublic

Authored by dexonsmith on Apr 8 2021, 4:12 PM.

Details

Summary

Replace some manual memory management with std::unique_ptr.

Diff Detail

Event Timeline

dexonsmith created this revision.Apr 8 2021, 4:12 PM
dexonsmith requested review of this revision.Apr 8 2021, 4:12 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 8 2021, 4:12 PM
dsanders accepted this revision.Apr 8 2021, 4:31 PM

LGTM

This revision is now accepted and ready to land.Apr 8 2021, 4:31 PM
This revision was landed with ongoing or failed builds.Apr 8 2021, 4:32 PM
This revision was automatically updated to reflect the committed changes.

Apparently some hosts don't like using std::unique_ptr for types that only have forward declarations. Reverted in 078072285d3fbdaa94f9a91140eb5c1223b548af and left a comment.