[flang] Drill down to a working implementation of the APIs for an
authorpeter klausler <pklausler@nvidia.com>
Thu, 16 Jan 2020 21:51:25 +0000 (13:51 -0800)
committerpeter klausler <pklausler@nvidia.com>
Fri, 24 Jan 2020 20:33:47 +0000 (12:33 -0800)
commit491122d1cd52dc0870b04d0cc0e05dffec194958
tree67913c202168537943ec96930b3d71f8595c4b64
parent6149ff9bc95259a4cf8a05882186736365c81182
[flang] Drill down to a working implementation of the APIs for an
internal formatted WRITE with no data list items.

Improve argument names in io-api.h

Bump up error number to not conflict with errno values

Use Fortran::runtime::io namespace

Add wrapper around malloc/free, allow use of unique_ptr with wrapper

IoErrorHandler

Revamp FormatContext, use virtual member functions

Update comment syntax, allow for old C

12HHELLO, WORLD

Remove files not yet ready for review

Use std::forward

Fix gcc build warnings

Fix redundant filename in license boilerplate

Reduce runtime dependence on compiler binary libraries, fixing shared lib builds

Original-commit: flang-compiler/f18@839a91f1d699cd839767407bcdb1e384f2d2b730
Reviewed-on: https://github.com/flang-compiler/f18/pull/946
22 files changed:
flang/include/flang/ISO_Fortran_binding.h
flang/runtime/CMakeLists.txt
flang/runtime/entry-names.h
flang/runtime/format.cc
flang/runtime/format.h
flang/runtime/io-api.cc [new file with mode: 0644]
flang/runtime/io-api.h
flang/runtime/io-error.cc [new file with mode: 0644]
flang/runtime/io-error.h [new file with mode: 0644]
flang/runtime/io-stmt.cc [new file with mode: 0644]
flang/runtime/io-stmt.h [new file with mode: 0644]
flang/runtime/magic-numbers.h
flang/runtime/main.cc
flang/runtime/main.h
flang/runtime/memory.cc [new file with mode: 0644]
flang/runtime/memory.h [new file with mode: 0644]
flang/runtime/terminator.cc
flang/runtime/terminator.h
flang/runtime/transformational.cc
flang/test/runtime/CMakeLists.txt
flang/test/runtime/format.cc
flang/test/runtime/hello.cc [new file with mode: 0644]