Skip to content
Unverified Commit 666a6197 authored by Kiran Kumar T P's avatar Kiran Kumar T P Committed by GitHub
Browse files

[Flang] Add semantic check for usage of COPYPRIVATE and NOWAIT clauses (#73486)

1. COPYPRIVATE clause should be specified on END SINGLE construct.
2. NOWAIT clause should be specified on END DO/DO SIMD/SINGLE/SECTIONS
construct.

Special handling for semantic checks for nowait/copyprivate clause is
needed in Fortran due to the fact that Openmp pragmas for C/C++ doesn't
have end directive (clause). nowait/copyprivate clauses are allowed in
begin directive clause lists for C/C++ and it is not allowed for
Fortran.
parent 6d6baef5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment