[flang-commits] [flang] [llvm] [Flang][OpenMP] Add semantic checks for Worshare construct (PR #111358)
Tom Eccles via flang-commits
flang-commits at lists.llvm.org
Wed Oct 9 03:29:05 PDT 2024
================
@@ -1162,7 +1162,7 @@ def OMP_Workshare : Directive<"workshare"> {
let category = CA_Executable;
}
def OMP_EndWorkshare : Directive<"end workshare"> {
- let allowedClauses = [
+ let allowedOnceClauses = [
----------------
tblah wrote:
nit: please could you add a test for this check as well. Something in `flang/test/` is okay
Otherwise this LGTM
https://github.com/llvm/llvm-project/pull/111358
More information about the flang-commits
mailing list