Searched refs:LookAhead (Results 1 – 11 of 11) sorted by relevance
224 const char *LookAhead = CurPtr; in doLookAhead() local226 if (isdigit(*LookAhead)) { in doLookAhead()227 ++LookAhead; in doLookAhead()228 } else if (isxdigit(*LookAhead)) { in doLookAhead()230 FirstHex = LookAhead; in doLookAhead()231 ++LookAhead; in doLookAhead()236 bool isHex = *LookAhead == 'h' || *LookAhead == 'H'; in doLookAhead()237 CurPtr = isHex || !FirstHex ? LookAhead : FirstHex; in doLookAhead()
126 Tok = P.getPreprocessor().LookAhead(0); in ParseOpenMPDirectiveKind()838 if (PP.LookAhead(0).is(tok::l_paren)) { in ParseOpenMPDeclarativeOrExecutableDirective()1117 if (CKind == OMPC_ordered && PP.LookAhead(/*N=*/0).isNot(tok::l_paren)) in ParseOpenMPClause()1589 if (Tok.is(tok::identifier) && PP.LookAhead(0).is(tok::l_paren)) { in ParseOpenMPVarList()1618 if (PP.LookAhead(0).is(tok::colon)) { in ParseOpenMPVarList()1624 } else if (PP.LookAhead(0).is(tok::comma)) { in ParseOpenMPVarList()1625 if (IsMapClauseModifierToken(PP.LookAhead(1)) && in ParseOpenMPVarList()1626 PP.LookAhead(2).is(tok::colon)) { in ParseOpenMPVarList()
42 switch (PP.LookAhead(0).getKind()) { in MayBeDesignationStart()65 return PP.LookAhead(0).is(tok::colon); in MayBeDesignationStart()
236 Token IdTok = PP.LookAhead(0); in ParseMSAsmIdentifier()456 if (PP.LookAhead(0).is(tok::l_brace)) in ParseMicrosoftAsmStatement()
441 PP.LookAhead(1).is(tok::identifier)) { in ParseOptionalCXXScopeSpecifier()
1907 property LookAhead: TANTLRInterfaceArray read GetLookAhead write SetLookAhead; property4729 State.LookAhead := LA;4812 while (FTail < Length(State.LookAhead)) do4814 FLookahead[FTail] := State.LookAhead[FTail];
895 unsigned LookAhead = std::min((unsigned)Sequence.size(), in RestoreHazardCheckerBottomUp() local897 if (LookAhead == 0) in RestoreHazardCheckerBottomUp()900 std::vector<SUnit*>::const_iterator I = (Sequence.end() - LookAhead); in RestoreHazardCheckerBottomUp()
725 unsigned LookAhead = std::min((unsigned)Sequence.size(), in RestoreHazardCheckerBottomUp() local727 if (LookAhead == 0) in RestoreHazardCheckerBottomUp()730 std::vector<SUnit*>::const_iterator I = (Sequence.end() - LookAhead); in RestoreHazardCheckerBottomUp()
551 return PP.LookAhead(N-1); in GetLookAheadToken()558 return PP.LookAhead(0); in NextToken()
488 ChainRuleData = lambda r:(r.Backtrack, r.Input, r.LookAhead)499 ChainRuleData = lambda r:(r.LookAhead, r.Input, r.Backtrack)501 def ChainSetRuleData(r, d):(r.LookAhead, r.Input, r.Backtrack) = d
1153 const Token &LookAhead(unsigned N) { in LookAhead() function