This is an archive of the discontinued LLVM Phabricator instance.

Fix one memory leak in the MLIRParser by using std::unique_ptr to hold the new block pointer
ClosedPublic

Authored by mehdi_amini on Jul 11 2020, 1:36 AM.

Details

Summary

This is NFC when there is no parsing error.

Diff Detail

Event Timeline

mehdi_amini created this revision.Jul 11 2020, 1:36 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 11 2020, 1:36 AM
rriddle accepted this revision.Jul 11 2020, 1:42 AM
This revision is now accepted and ready to land.Jul 11 2020, 1:42 AM
This revision was automatically updated to reflect the committed changes.