aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CreateInvocationFromCommandLine.cpp
diff options
context:
space:
mode:
authorPeixinQiao <qiaopeixin@huawei.com>2022-05-06 22:14:51 +0800
committerPeixinQiao <qiaopeixin@huawei.com>2022-05-06 22:14:51 +0800
commitffc7f9d542370eb72ad1f4bf79f763ca685bab8b (patch)
treeccf4073a82fc5c7eafe799e6e37ca97e68c3bcef /clang/lib/Frontend/CreateInvocationFromCommandLine.cpp
parent9fe89a1f0fa6d88aa4786580b89e81dc906fcc52 (diff)
downloadllvm-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