[all-commits] [llvm/llvm-project] 98d576: [flang] Improve API for runtime allocator (I/O run...
Peter Klausler via All-commits
all-commits at lists.llvm.org
Fri Jul 3 08:38:35 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 98d576c78f88b6d7191335c9774313c191ef7539
https://github.com/llvm/llvm-project/commit/98d576c78f88b6d7191335c9774313c191ef7539
Author: peter klausler <pklausler at nvidia.com>
Date: 2020-07-03 (Fri, 03 Jul 2020)
Changed paths:
M flang/runtime/file.cpp
M flang/runtime/io-api.cpp
M flang/runtime/memory.h
M flang/runtime/unit-map.cpp
M flang/runtime/unit.cpp
Log Message:
-----------
[flang] Improve API for runtime allocator (I/O runtime work part 3)
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.
Reviewed By: tskeith
Differential Revision: https://reviews.llvm.org/D83108
More information about the All-commits
mailing list