[flang][OpenMP][FIX] Fix the worksharing nesting check with inclusion of more constru...
authorArnamoy Bhattacharyya <arnamoy.bhattacharyya@huawei.com>
Thu, 29 Apr 2021 20:12:28 +0000 (16:12 -0400)
committerArnamoy Bhattacharyya <arnamoy.bhattacharyya@huawei.com>
Thu, 29 Apr 2021 20:17:32 +0000 (16:17 -0400)
commit8f5a2a5836cc8e4c1def2bdeb022e7b496623439
tree5b3e6b2d8264567b87e058904f7d7c726f92919c
parenta047837b9063f33617abfa8abe0c408ab522b948
[flang][OpenMP][FIX] Fix the worksharing nesting check with inclusion of more constructs to cover combined constructs.
flang/lib/Semantics/check-omp-structure.cpp
flang/lib/Semantics/check-omp-structure.h
flang/test/Semantics/omp-do05.f90
flang/test/Semantics/omp-workshare01.f90
flang/test/Semantics/omp-workshare04.f90
flang/test/Semantics/omp-workshare05.f90