[flang-commits] [flang] [llvm] [Flang] Add semantic check for usage of COPYPRIVATE and NOWAIT clauses (PR #73486)

Kiran Chandramohan via flang-commits flang-commits at lists.llvm.org
Mon Dec 4 03:28:43 PST 2023


================
@@ -2456,6 +2465,19 @@ void OmpStructureChecker::Enter(const parser::OmpClause::Private &x) {
   CheckIntentInPointer(x.v, llvm::omp::Clause::OMPC_private);
 }
 
+void OmpStructureChecker::Enter(const parser::OmpClause::Nowait &x) {
+  CheckAllowed(llvm::omp::Clause::OMPC_nowait);
----------------
kiranchandramohan wrote:

Thanks. Since the handling is different due to the C/C++ issue. It will be good to call this out in the patch summary.

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


More information about the flang-commits mailing list