aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorPraveen G <praveen@compilertree.com>2020-11-30 11:35:35 -0500
committerPraveen G <praveen@compilertree.com>2020-11-30 11:46:36 -0500
commit7a91794d5b261bc87991d5acce9fa503e9a4f269 (patch)
treed65f101423d574f04df1f6eae7f84ebcdb6261cd /clang/lib/Frontend/CompilerInvocation.cpp
parent1b723a955da04d5a4fc7953c86045b8ef6da2881 (diff)
downloadllvm-7a91794d5b261bc87991d5acce9fa503e9a4f269.zip
llvm-7a91794d5b261bc87991d5acce9fa503e9a4f269.tar.gz
llvm-7a91794d5b261bc87991d5acce9fa503e9a4f269.tar.bz2
[Flang][OpenMP] Add semantic checks for OpenMP Private clause.
Add the semantic checks for the OpenMP 4.5 - 2.15.3.3 Private clause. 1. Pointers with the INTENT(IN) attribute may not appear in a private clause. 2. Variables that appear in namelist statements may not appear in a private clause. A flag 'InNamelist' is added to the Symbol::Flag to identify the symbols in Namelist statemnts. Test cases : omp-private01.f90, omp-private02.f90 Reviewed By: kiranchandramohan Differential Revision: https://reviews.llvm.org/D90210
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions