Searched refs:getCurToken (Results 1 – 8 of 8) sorted by relevance
240 Token IdentTok = P.getCurToken(); in tryParseAndConsumeSpecialTokenKind()314 P.Diag(P.getCurToken(), diag::err_acc_expected_reduction_operator); in ParseReductionOperator()317 Token ReductionKindTok = P.getCurToken(); in ParseReductionOperator()353 Token Tok = P.getCurToken(); in expectIdentifierOrKeyword()358 P.Diag(P.getCurToken(), diag::err_expected) << tok::identifier; in expectIdentifierOrKeyword()365 Token SecondTok = P.getCurToken(); in ParseOpenACCEnterExitDataDirective()393 Token AtomicClauseToken = P.getCurToken(); in ParseOpenACCAtomicKind()413 Token FirstTok = P.getCurToken(); in ParseOpenACCDirectiveKind()420 if (P.getCurToken().isNot(tok::annot_pragma_openacc_end)) in ParseOpenACCDirectiveKind()454 Token SecondTok = P.getCurToken(); in ParseOpenACCDirectiveKind()[all …]
197 Token Tok = P.getCurToken(); in parseOpenMPDirectiveKind()228 Token Tok = P.getCurToken(); in parseOpenMPReductionId()235 Tok = P.getCurToken(); in parseOpenMPReductionId()727 const Token &Tok = P.getCurToken(); in parseDeclareSimdClauses()1111 P.getPreprocessor().getSpelling(P.getCurToken(), Buffer); in parseContextScore()1118 if (P.getCurToken().is(tok::colon)) in parseContextScore()1121 P.Diag(P.getCurToken(), diag::warn_omp_declare_variant_expected) in parseContextScore()1798 const Token &Tok = P.getCurToken(); in parseOpenMPSimpleClause()3473 const Token &Tok = getCurToken(); in ParseOMPInteropInfo()4013 switch (P.getCurToken().getKind()) { in ParseReductionId()[all …]
60 const Token &Tok = P.getCurToken(); in print()
1411 : P(P), StmtLoc(SL), PrevLoc(P.getCurToken().getLocation()), in MisleadingIndentationChecker()1413 ShouldSkip(P.getCurToken().is(tok::l_brace)) { in MisleadingIndentationChecker()1458 Token Tok = P.getCurToken(); in Check()
1250 P.Diag(P.getCurToken().getLocation(), in tryConsumeLambdaSpecifierToken()1253 << FixItHint::CreateRemoval(P.getCurToken().getLocation()); in tryConsumeLambdaSpecifierToken()1260 switch (P.getCurToken().getKind()) { in tryConsumeLambdaSpecifierToken()
1815 Loc = PRef.getCurToken().getLocation(); in createExpectedAttributeSubjectRulesTokenDiagnostic()1819 getAttributeSubjectRulesRecoveryPointForToken(PRef.getCurToken()); in createExpectedAttributeSubjectRulesTokenDiagnostic()1867 FixItRange.setEnd(PRef.getCurToken().getLocation()); in createExpectedAttributeSubjectRulesTokenDiagnostic()
258 if (P->getCurToken().is(tok::annot_repl_input_end)) { in ParseOrWrapTopLevelDecl()
501 const Token &getCurToken() const { return Tok; } in getCurToken() function