[flang] Semantic checks for OpenMP combined constructs.
authorDavid Truby <david.truby@arm.com>
Thu, 9 Apr 2020 17:54:28 +0000 (18:54 +0100)
committerDavid Truby <david.truby@arm.com>
Mon, 27 Apr 2020 11:40:49 +0000 (12:40 +0100)
commit75c31057a76228dea73aff100e7403c0e9a00c30
treeacb5ce5622b377f8c55c768258aded599329ee73
parentb547e1a4d163721b2dc3be869a3f06c6203217dc
[flang] Semantic checks for OpenMP combined constructs.

Summary:
This includes a refactor of the existing combined construct checks
that were present, as well as adding the remaining combined constructs
that had not been implemented yet.

Reviewers: jdoerfert

Subscribers: yaxunl, guansong, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D77812
flang/include/flang/Common/enum-set.h
flang/lib/Semantics/check-omp-structure.cpp
flang/lib/Semantics/resolve-names.cpp
flang/test/Semantics/omp-combined-constructs.f90 [new file with mode: 0644]
flang/test/Semantics/omp-device-constructs.f90