[flang][OpenMP] Modify semantic check for nesting of `ordered` regions to include...
authorArnamoy Bhattacharyya <arnamoy.bhattacharyya@huawei.com>
Tue, 13 Apr 2021 17:56:43 +0000 (13:56 -0400)
committerArnamoy Bhattacharyya <arnamoy10@gmail.com>
Tue, 13 Apr 2021 17:59:18 +0000 (13:59 -0400)
commit162b463d85d3b6d253479b2b3b87fca786e61258
tree683aff6d0f6bc90e195ab8451558aade0b3cb7b1
parent1e0b813fc0825b5ca0d70376be83a660a242c51b
[flang][OpenMP] Modify semantic check for nesting of `ordered` regions to include `close` nesting check.

Reviewed By: kiranchandramohan

Differential Revision: https://reviews.llvm.org/D100222
flang/lib/Semantics/check-omp-structure.cpp
flang/test/Semantics/omp-ordered-simd.f90