diff options
author | PeixinQiao <qiaopeixin@huawei.com> | 2022-05-06 22:14:51 +0800 |
---|---|---|
committer | PeixinQiao <qiaopeixin@huawei.com> | 2022-05-06 22:14:51 +0800 |
commit | ffc7f9d542370eb72ad1f4bf79f763ca685bab8b (patch) | |
tree | ccf4073a82fc5c7eafe799e6e37ca97e68c3bcef /clang/lib/Frontend/CreateInvocationFromCommandLine.cpp | |
parent | 9fe89a1f0fa6d88aa4786580b89e81dc906fcc52 (diff) | |
download | llvm-ffc7f9d542370eb72ad1f4bf79f763ca685bab8b.zip llvm-ffc7f9d542370eb72ad1f4bf79f763ca685bab8b.tar.gz llvm-ffc7f9d542370eb72ad1f4bf79f763ca685bab8b.tar.bz2 |
[flang] Support external procedure passed as actual argument with implicit character type
As Fortran 2018 15.5.2.9 point 2, the actual argument and dummy argument
have the same type and type parameters and an external function with
assumed character length may be associated with a dummy argument with
explicit character length. As Fortran 2018 15.5.2.9 point 7, if an
external procedure is used as an actual argument, it can be explicitly
declared to have the EXTERNAL attribute. This supports the external
procedure passed as actual argument with implicit character type, either
explicit character length or assumed character length.
Reviewed By: Jean Perier, klausler
Differential Revision: https://reviews.llvm.org/D124345
Diffstat (limited to 'clang/lib/Frontend/CreateInvocationFromCommandLine.cpp')
0 files changed, 0 insertions, 0 deletions