diff options
author | Peixin-Qiao <qiaopeixin@huawei.com> | 2022-06-14 10:34:38 +0800 |
---|---|---|
committer | Peixin-Qiao <qiaopeixin@huawei.com> | 2022-06-14 10:34:38 +0800 |
commit | dafd3cf8b1cc9dae0ae1fabc2fd1ad4379119d11 (patch) | |
tree | ccaf82797154c570b4b06bad5310d02f8c46fe33 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
parent | c6d8aa27c5fe6aca56c3f95ee61c35265d4fe6b9 (diff) | |
download | llvm-dafd3cf8b1cc9dae0ae1fabc2fd1ad4379119d11.zip llvm-dafd3cf8b1cc9dae0ae1fabc2fd1ad4379119d11.tar.gz llvm-dafd3cf8b1cc9dae0ae1fabc2fd1ad4379119d11.tar.bz2 |
[flang] Complement one-to-one association check of bind name and entity name
As Fortran 2018 C802 and C873, if bind name is specified, there can only
be only one entity. The check for common block is missed before. As
Fortran 2018 8.5.5 point 2, the bind name is one identifier, which is
unique. That is, one entity can not have multiple bind names. Also add
this check.
Reviewed By: klausler, Jean Perier
Differential Revision: https://reviews.llvm.org/D126961
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions