[flang-commits] [llvm] [flang] [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 02:35:25 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:
Does this check look only at the construct and not the begin or end directive?
https://github.com/llvm/llvm-project/pull/73486
More information about the flang-commits
mailing list