[Flang] [OpenMP] Refine parser restrictions for OMP TARGET UPDATE clauses.
authorRaghu Maddhipatla <Raghu.Maddhipatla@amd.com>
Thu, 12 Jan 2023 06:32:06 +0000 (00:32 -0600)
committerRaghu Maddhipatla <Raghu.Maddhipatla@amd.com>
Tue, 17 Jan 2023 14:43:28 +0000 (08:43 -0600)
commitb2fb93d6818e724e8c4fcb2309e7fd63a8cb2d01
tree0ff939beea42e53208e3a9d1ae7ed44ef42edc2a
parentefc0ba0275bd39fe0fb7548345139e9183fce20d
[Flang] [OpenMP] Refine parser restrictions for OMP TARGET UPDATE clauses.

In Parser, move some clauses of OMP TARGET UPDATE to allowedOnceClauses so that restrictions will be imposed.

Reviewed By: kiranchandramohan

Differential Revision: https://reviews.llvm.org/D141567
flang/test/Semantics/OpenMP/omp-device-constructs.f90
llvm/include/llvm/Frontend/OpenMP/OMP.td