HomePhabricator

[flang] Add checks for misuse of formatted I/O APIs in unformatted I/O statement

Authored by klausler on Oct 1 2020, 9:32 AM.

Description

[flang] Add checks for misuse of formatted I/O APIs in unformatted I/O statement

Add checking to I/O statement APIs to catch cases where the formatted
I/O data item transfer routines like OutputInteger64 are being
incorrectly used for unformatted I/O, which should use the
unformatted block or descriptor-based data item interfaces.

Differential revision: https://reviews.llvm.org/D88672