aboutsummaryrefslogtreecommitdiff
path: root/flang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorKiran Kumar T P <50909805+kiranktp@users.noreply.github.com>2023-12-04 17:27:24 +0530
committerGitHub <noreply@github.com>2023-12-04 17:27:24 +0530
commit666a61972f65eb7441a0e81b3ad20780ed857eea (patch)
tree70891217cc614ba4e5f9bb31ca73e253e7aee7a2 /flang/lib/Frontend/CompilerInvocation.cpp
parent6d6baef5c9bf880a28c3b9861fc5c1f578b6635c (diff)
downloadllvm-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