aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorValentin Clement <clementval@gmail.com>2020-11-05 16:21:15 -0500
committerclementval <clementval@gmail.com>2020-11-05 16:21:26 -0500
commita8a10acba2a769ae0f77e61380e649e7428f68fb (patch)
tree88c5f611b373160680fe09e7b0aa52c568470af0 /clang/lib/Frontend/CompilerInvocation.cpp
parent6f288b11dba7f7ef01bdc4a3202e908bdc0fb067 (diff)
downloadllvm-a8a10acba2a769ae0f77e61380e649e7428f68fb.zip
llvm-a8a10acba2a769ae0f77e61380e649e7428f68fb.tar.gz
llvm-a8a10acba2a769ae0f77e61380e649e7428f68fb.tar.bz2
[openacc][openmp] Allow duplicate between required and allowed once/exclusive
Validity check introduce in D90241 are a bit too restrict and this patch propose to losen them a bit. The duplicate clauses is now check only between the three allowed lists and between the requiredClauses and allowedClauses lists. This allows to enable some check where a clause can be required but also appear only once on the directive. We found these kind of restriction useful on the set directive in OpenACC for example. Reviewed By: kiranchandramohan Differential Revision: https://reviews.llvm.org/D90770
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions