This is an archive of the discontinued LLVM Phabricator instance.

[NFC] Refactor ExecuteAssembler in cc1as_main.cpp
ClosedPublic

Authored by scott.linder on Apr 29 2021, 9:11 AM.

Details

Summary

Introduce an extra scope (another static function) to replace calls to
unique_ptr::reset with implicit destructors via RAII.

Diff Detail

Event Timeline

scott.linder requested review of this revision.Apr 29 2021, 9:11 AM
scott.linder created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptApr 29 2021, 9:11 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript

I'm not sure who else to add, please feel free to update the reviewers

MaskRay accepted this revision.Apr 29 2021, 9:49 AM

Seems reasonable.

This revision is now accepted and ready to land.Apr 29 2021, 9:49 AM
This revision was automatically updated to reflect the committed changes.