[flang] 2.8.1 SIMD structural checks (flang-compiler/f18#554)
authorJinxin (Brian) Yang <jinxiny@nvidia.com>
Tue, 9 Jul 2019 21:08:50 +0000 (14:08 -0700)
committerGitHub <noreply@github.com>
Tue, 9 Jul 2019 21:08:50 +0000 (14:08 -0700)
commit0f8e792455b20421f47bea43888a77dcd8080d4d
tree1ada7ac5b3e991eb73072bc767086b0424702ec0
parent9b730917583ae62b4ea0b4868ac8866b043a7538
[flang] 2.8.1 SIMD structural checks (flang-compiler/f18#554)

Straightforward implementation but not including:
* list-item on aligned clause
* nesting check with the ordered construct (parse tree changes needed!)
* list-item attributes check on aligned clause

Original-commit: flang-compiler/f18@cf04d8ad26fc392822335a529430afb65421d7b4
Reviewed-on: https://github.com/flang-compiler/f18/pull/554
flang/lib/semantics/check-omp-structure.cc
flang/lib/semantics/check-omp-structure.h
flang/test/semantics/omp-clause-validity01.f90