This is an archive of the discontinued LLVM Phabricator instance.

[flang] Improve API for runtime allocator (I/O runtime work part 3)
ClosedPublic

Authored by klausler on Jul 2 2020, 6:40 PM.

Details

Summary

New<A> used to return an A&; now it returns an OwningPtr<A>
to force better ownership tracking of allocations. Its API
has also been split into New<A> and SizedNew<A> to allow
allocations with a size override.

Diff Detail

Event Timeline

klausler created this revision.Jul 2 2020, 6:40 PM
Herald added a project: Restricted Project. · View Herald Transcript
tskeith accepted this revision.Jul 3 2020, 8:17 AM
This revision is now accepted and ready to land.Jul 3 2020, 8:17 AM
This revision was automatically updated to reflect the committed changes.