We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 40b4fd7 commit c9cc6c4Copy full SHA for c9cc6c4
clang/lib/Sema/SemaOpenMP.cpp
@@ -23087,8 +23087,7 @@ OMPClause *SemaOpenMP::ActOnOpenMPDoacrossClause(
23087
if (DSAStack->getCurrentDirective() == OMPD_ordered &&
23088
DepType != OMPC_DOACROSS_source && DepType != OMPC_DOACROSS_sink &&
23089
DepType != OMPC_DOACROSS_sink_omp_cur_iteration &&
23090
- DepType != OMPC_DOACROSS_source_omp_cur_iteration &&
23091
- DepType != OMPC_DOACROSS_source) {
+ DepType != OMPC_DOACROSS_source_omp_cur_iteration) {
23092
Diag(DepLoc, diag::err_omp_unexpected_clause_value)
23093
<< "'source' or 'sink'" << getOpenMPClauseName(OMPC_doacross);
23094
return nullptr;
0 commit comments