[flang][openmp] Required clauses are allowed
authorValentin Clement <clementval@gmail.com>
Thu, 23 Jul 2020 01:31:07 +0000 (21:31 -0400)
committerclementval <clementval@gmail.com>
Thu, 23 Jul 2020 01:31:35 +0000 (21:31 -0400)
commit3b8ffdec0772e038056903ab3e30019bdb9a8b8d
treea8c61dace629d166a58b4c0d89ce1085d93ff292
parent6f0d99d2b9b3b8ae96dd91c8988cc067b9c9afb9
[flang][openmp] Required clauses are allowed

Summary:
This patch fix a problem where clause needed to be in the allowed set even
they were in the required set. A required clause is allowed obvisouly. This allow
to remove the duplicate in OMP.td

Reviewers: kiranchandramohan, DavidTruby, richard.barton.arm, jdoerfert, sscalpone, kiranktp, ichoyjx

Reviewed By: kiranchandramohan

Subscribers: yaxunl, guansong, sstefan1, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D84353
flang/lib/Semantics/check-omp-structure.cpp
llvm/include/llvm/Frontend/OpenMP/OMP.td