[flang-commits] [PATCH] D88556: [Flang][OpenMP] Fix issue in only a single nowait clause can appear on a sections directive.

Valentin Clement via Phabricator via flang-commits flang-commits at lists.llvm.org
Wed Sep 30 06:44:40 PDT 2020


clementval added inline comments.


================
Comment at: flang/lib/Semantics/check-omp-structure.cpp:130
     SetContextDirectiveEnum(llvm::omp::Directive::OMPD_end_sections);
-    SetContextAllowed(OmpClauseSet{llvm::omp::Clause::OMPC_nowait});
+    SetContextAllowedOnce(OmpClauseSet{llvm::omp::Clause::OMPC_nowait});
     break;
----------------
This should probably be done with TableGen but we can check that in another revision 


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D88556/new/

https://reviews.llvm.org/D88556



More information about the flang-commits mailing list