[flang-commits] [flang] [llvm] [Flang][OpenMP] Add semantic checks for Worshare construct (PR #111358)

Thirumalai Shaktivel via flang-commits flang-commits at lists.llvm.org
Wed Oct 9 03:33:38 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 = [
----------------
Thirumalai-Shaktivel wrote:

I have added a test here: https://github.com/llvm/llvm-project/pull/111358/files#diff-3b5218aa589f253f6fe3c0637625dfe6c38d9dc425d5290a626b2b6796f06db5R79-R82. Is it fine or should I move it to `flang/test`

https://github.com/llvm/llvm-project/pull/111358


More information about the flang-commits mailing list