Searched refs:LookAhead (Results 1 – 9 of 9) sorted by relevance
267 const char *LookAhead = CurPtr; in doHexLookAhead() local269 if (isDigit(*LookAhead)) { in doHexLookAhead()270 ++LookAhead; in doHexLookAhead()273 FirstNonDec = LookAhead; in doHexLookAhead()276 if (LexHex && isHexDigit(*LookAhead)) in doHexLookAhead()277 ++LookAhead; in doHexLookAhead()282 bool isHex = LexHex && (*LookAhead == 'h' || *LookAhead == 'H'); in doHexLookAhead()283 CurPtr = isHex || !FirstNonDec ? LookAhead : FirstNonDec; in doHexLookAhead()
43 switch (PP.LookAhead(0).getKind()) { in MayBeDesignationStart()68 return PP.LookAhead(0).is(tok::colon); in MayBeDesignationStart()
1014 unsigned LookAhead = 0; in handleExprStmt() local1015 while (GetLookAheadToken(LookAhead).is(tok::semi)) { in handleExprStmt()1016 ++LookAhead; in handleExprStmt()1021 IsStmtExprResult = GetLookAheadToken(LookAhead).is(tok::r_brace) && in handleExprStmt()1022 GetLookAheadToken(LookAhead + 1).is(tok::r_paren); in handleExprStmt()1321 P.getPreprocessor().LookAhead(0).isNot(tok::colon))) { in Check()
252 Token IdTok = PP.LookAhead(0); in ParseMSAsmIdentifier()454 if (PP.LookAhead(0).is(tok::l_brace)) in ParseMicrosoftAsmStatement()
194 Tok = P.getPreprocessor().LookAhead(0); in parseOpenMPDirectiveKind()538 if (PP.LookAhead(0).is(tok::colon)) { in ParseOpenMPDeclareMapperDirective()2827 if (CKind == OMPC_ordered && PP.LookAhead(/*N=*/0).isNot(tok::l_paren)) in ParseOpenMPClause()3568 if (PP.LookAhead(0).is(tok::colon)) in parseMapTypeModifiers()3814 if (Tok.is(tok::identifier) && PP.LookAhead(0).is(tok::l_paren)) { in ParseOpenMPVarList()3828 Tok.is(tok::identifier) && PP.LookAhead(0).is(tok::colon)) { in ParseOpenMPVarList()
401 PP.LookAhead(1).is(tok::identifier)) { in ParseOptionalCXXScopeSpecifier()
930 unsigned LookAhead = std::min((unsigned)Sequence.size(), in RestoreHazardCheckerBottomUp() local932 if (LookAhead == 0) in RestoreHazardCheckerBottomUp()935 std::vector<SUnit *>::const_iterator I = (Sequence.end() - LookAhead); in RestoreHazardCheckerBottomUp()
785 return PP.LookAhead(N-1); in GetLookAheadToken()792 return PP.LookAhead(0); in NextToken()
1491 const Token &LookAhead(unsigned N) { in LookAhead() function