diff options
author | Kiran Kumar T P <50909805+kiranktp@users.noreply.github.com> | 2023-12-04 17:27:24 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-04 17:27:24 +0530 |
commit | 666a61972f65eb7441a0e81b3ad20780ed857eea (patch) | |
tree | 70891217cc614ba4e5f9bb31ca73e253e7aee7a2 /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | 6d6baef5c9bf880a28c3b9861fc5c1f578b6635c (diff) | |
download | llvm-666a61972f65eb7441a0e81b3ad20780ed857eea.zip llvm-666a61972f65eb7441a0e81b3ad20780ed857eea.tar.gz llvm-666a61972f65eb7441a0e81b3ad20780ed857eea.tar.bz2 |
[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.
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions