diff options
author | Valentin Clement <clementval@gmail.com> | 2020-11-05 16:21:15 -0500 |
---|---|---|
committer | clementval <clementval@gmail.com> | 2020-11-05 16:21:26 -0500 |
commit | a8a10acba2a769ae0f77e61380e649e7428f68fb (patch) | |
tree | 88c5f611b373160680fe09e7b0aa52c568470af0 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 6f288b11dba7f7ef01bdc4a3202e908bdc0fb067 (diff) | |
download | llvm-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