Searched refs:getCurToken (Results 1 – 8 of 8) sorted by relevance
245 Token IdentTok = P.getCurToken(); in tryParseAndConsumeSpecialTokenKind()319 P.Diag(P.getCurToken(), diag::err_acc_expected_reduction_operator); in ParseReductionOperator()322 Token ReductionKindTok = P.getCurToken(); in ParseReductionOperator()358 Token Tok = P.getCurToken(); in expectIdentifierOrKeyword()363 P.Diag(P.getCurToken(), diag::err_expected) << tok::identifier; in expectIdentifierOrKeyword()370 Token SecondTok = P.getCurToken(); in ParseOpenACCEnterExitDataDirective()398 Token AtomicClauseToken = P.getCurToken(); in ParseOpenACCAtomicKind()417 Token FirstTok = P.getCurToken(); in ParseOpenACCDirectiveKind()424 if (P.getCurToken().isNot(tok::annot_pragma_openacc_end)) in ParseOpenACCDirectiveKind()458 Token SecondTok = P.getCurToken(); in ParseOpenACCDirectiveKind()[all …]
59 const Token &Tok = P.getCurToken(); in print()
79 Token Tok = P.getCurToken(); in parseOpenMPDirectiveKind()108 Token Tok = P.getCurToken(); in parseOpenMPReductionId()115 Tok = P.getCurToken(); in parseOpenMPReductionId()664 const Token &Tok = P.getCurToken(); in parseDeclareSimdClauses()1061 P.getPreprocessor().getSpelling(P.getCurToken(), Buffer); in parseContextScore()1068 if (P.getCurToken().is(tok::colon)) in parseContextScore()1071 P.Diag(P.getCurToken(), diag::warn_omp_declare_variant_expected) in parseContextScore()1733 const Token &Tok = P.getCurToken(); in parseOpenMPSimpleClause()3456 const Token &Tok = getCurToken(); in ParseOMPInteropInfo()3945 switch (P.getCurToken().getKind()) { in ParseReductionId()[all …]
1318 : P(P), StmtLoc(SL), PrevLoc(P.getCurToken().getLocation()), in MisleadingIndentationChecker()1320 ShouldSkip(P.getCurToken().is(tok::l_brace)) { in MisleadingIndentationChecker()1365 Token Tok = P.getCurToken(); in Check()
1107 P.Diag(P.getCurToken().getLocation(), in tryConsumeLambdaSpecifierToken()1110 << FixItHint::CreateRemoval(P.getCurToken().getLocation()); in tryConsumeLambdaSpecifierToken()1117 switch (P.getCurToken().getKind()) { in tryConsumeLambdaSpecifierToken()
1799 Loc = PRef.getCurToken().getLocation(); in createExpectedAttributeSubjectRulesTokenDiagnostic()1803 getAttributeSubjectRulesRecoveryPointForToken(PRef.getCurToken()); in createExpectedAttributeSubjectRulesTokenDiagnostic()1851 FixItRange.setEnd(PRef.getCurToken().getLocation()); in createExpectedAttributeSubjectRulesTokenDiagnostic()
53 if (P->getCurToken().is(tok::annot_repl_input_end)) { in ParseOrWrapTopLevelDecl()
210 const Token &getCurToken() const { return Tok; } in getCurToken() function