diff options
author | Peixin-Qiao <qiaopeixin@huawei.com> | 2022-10-25 10:19:54 +0800 |
---|---|---|
committer | Peixin-Qiao <qiaopeixin@huawei.com> | 2022-10-25 10:19:54 +0800 |
commit | ac44cb7617a8e46cc23e0d1def4764f7bc13f978 (patch) | |
tree | e57760fe6582591870c7d6c3a53f6ea6c2dcceb3 /clang/lib/ExtractAPI/Serialization/SymbolGraphSerializer.cpp | |
parent | 686a951d4b0e006ee2f6e3c0d35ae41b9ee455f9 (diff) | |
download | llvm-ac44cb7617a8e46cc23e0d1def4764f7bc13f978.zip llvm-ac44cb7617a8e46cc23e0d1def4764f7bc13f978.tar.gz llvm-ac44cb7617a8e46cc23e0d1def4764f7bc13f978.tar.bz2 |
[flang] Add two semantic checks about BIND(C) attribute
As Fortran 2018 C1546, an elemental procedure shall not have the BIND
attribute.
As 18.3.6, it does not mention that an array with VALUE can be
interoperable. It is not reasonable to pass an array by value when the
array is too large. Forbid it to be consistent with gfortran/ifort.
Reviewed By: jeanPerier
Differential Revision: https://reviews.llvm.org/D136420
Diffstat (limited to 'clang/lib/ExtractAPI/Serialization/SymbolGraphSerializer.cpp')
0 files changed, 0 insertions, 0 deletions