aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorPeter Klausler <pklausler@nvidia.com>2022-11-30 15:20:49 -0800
committerPeter Klausler <pklausler@nvidia.com>2022-12-02 16:10:52 -0800
commit5ea0ba2c13af3c6c8e68701b00695f0f0481bed0 (patch)
treeb3806e8787899fe263911dc4a81685a1af241fa6 /clang/lib/Frontend/CompilerInvocation.cpp
parentb46902117c376ba3990a744cc84f55e191d6e922 (diff)
downloadllvm-5ea0ba2c13af3c6c8e68701b00695f0f0481bed0.zip
llvm-5ea0ba2c13af3c6c8e68701b00695f0f0481bed0.tar.gz
llvm-5ea0ba2c13af3c6c8e68701b00695f0f0481bed0.tar.bz2
[flang] Enforce more restrictions on I/O data list items
12.6.3p5 requires an I/O data list item to have a defined I/O procedure if it is polymorphic. (We could defer this checking to the runtime, but no other Fortran compiler does so, and we would also have to be able to catch the case of an allocatable or pointer direct component in the absence of a defined I/O subroutine.) Also includes a patch to name resolution that ensures that a SELECT TYPE construct entity is polymorphic in the domain of a CLASS IS guard. Also ensures that non-defined I/O of types with PRIVATE components is caught. Differential Revision: https://reviews.llvm.org/D139050
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions