Lines Matching refs:CKind
273 OpenMPClauseKind CKind =
278 Actions.StartOpenMPClause(CKind);
281 ParseOpenMPClause(DKind, CKind, !FirstClauses[CKind].getInt());
282 FirstClauses[CKind].setInt(true);
284 FirstClauses[CKind].setPointer(Clause);
422 OpenMPClauseKind CKind, bool FirstClause) {
426 if (CKind != OMPC_unknown && !isAllowedClauseForDirective(DKind, CKind)) {
427 Diag(Tok, diag::err_omp_unexpected_clause) << getOpenMPClauseName(CKind)
432 switch (CKind) {
468 << getOpenMPDirectiveName(DKind) << getOpenMPClauseName(CKind) << 0;
472 if (CKind == OMPC_ordered && PP.LookAhead(/*N=*/0).isNot(tok::l_paren))
473 Clause = ParseOpenMPClause(CKind);
475 Clause = ParseOpenMPSingleExprClause(CKind);
486 << getOpenMPDirectiveName(DKind) << getOpenMPClauseName(CKind) << 0;
490 Clause = ParseOpenMPSimpleClause(CKind);
497 << getOpenMPDirectiveName(DKind) << getOpenMPClauseName(CKind) << 0;
502 Clause = ParseOpenMPSingleExprWithArgClause(CKind);
521 << getOpenMPDirectiveName(DKind) << getOpenMPClauseName(CKind) << 0;
525 Clause = ParseOpenMPClause(CKind);
539 Clause = ParseOpenMPVarListClause(DKind, CKind);
547 Diag(Tok, diag::err_omp_unexpected_clause) << getOpenMPClauseName(CKind)