[flang-commits] [PATCH] D83108: [flang] Improve API for runtime allocator (I/O runtime work part 3)

Peter Klausler via Phabricator via flang-commits flang-commits at lists.llvm.org
Thu Jul 2 18:53:49 PDT 2020


klausler created this revision.
klausler added reviewers: tskeith, sscalpone.
klausler added a project: Flang.
Herald added a reviewer: jdoerfert.
Herald added a reviewer: DavidTruby.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D83108

Files:
  flang/runtime/file.cpp
  flang/runtime/io-api.cpp
  flang/runtime/memory.h
  flang/runtime/unit-map.cpp
  flang/runtime/unit.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D83108.275272.patch
Type: text/x-patch
Size: 5177 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20200703/96c0c349/attachment-0001.bin>


More information about the flang-commits mailing list