diff options
author | PeixinQiao <qiaopeixin@huawei.com> | 2022-04-09 00:27:53 +0800 |
---|---|---|
committer | PeixinQiao <qiaopeixin@huawei.com> | 2022-04-09 00:27:53 +0800 |
commit | eb4d5b852e1d922bce2f538bbafb688786ae2738 (patch) | |
tree | 880789c8f79e0bd57b333176f57dd5683a419333 /clang/lib/ExtractAPI/Serialization/SymbolGraphSerializer.cpp | |
parent | 34e1b4774a47d2cc92d8b32aaa25778b7acf9255 (diff) | |
download | llvm-eb4d5b852e1d922bce2f538bbafb688786ae2738.zip llvm-eb4d5b852e1d922bce2f538bbafb688786ae2738.tar.gz llvm-eb4d5b852e1d922bce2f538bbafb688786ae2738.tar.bz2 |
[flang] Fix semantic analysis for "forall" targeted by "label"
As Fortran 2018 3.18 states, the branch target statement can be
`forall-construct-stmt`, but cannot be `forall-stmt`. `forall-stmt` is
wrapped by `Statement` in `action-stmt` and `action-stmt` can be one
branch target statement. Fix the semantic analysis and add two
regression test cases in lowering.
Reviewed By: Jean Perier
Differential Revision: https://reviews.llvm.org/D123373
Diffstat (limited to 'clang/lib/ExtractAPI/Serialization/SymbolGraphSerializer.cpp')
0 files changed, 0 insertions, 0 deletions