Searched refs:LookAhead (Results 1 - 9 of 9) sorted by relevance

/freebsd-13-stable/contrib/llvm-project/llvm/lib/MC/MCParser/
H A DAsmLexer.cpp252 const char *LookAhead = CurPtr; local
254 if (isDigit(*LookAhead)) {
255 ++LookAhead;
258 FirstNonDec = LookAhead;
261 if (LexHex && isHexDigit(*LookAhead))
262 ++LookAhead;
267 bool isHex = LexHex && (*LookAhead == 'h' || *LookAhead == 'H');
268 CurPtr = isHex || !FirstNonDec ? LookAhead : FirstNonDec;
/freebsd-13-stable/contrib/llvm-project/clang/lib/Parse/
H A DParseInit.cpp43 switch (PP.LookAhead(0).getKind()) {
68 return PP.LookAhead(0).is(tok::colon);
H A DParseStmt.cpp1002 unsigned LookAhead = 0; local
1003 while (GetLookAheadToken(LookAhead).is(tok::semi)) {
1004 ++LookAhead;
1009 IsStmtExprResult = GetLookAheadToken(LookAhead).is(tok::r_brace) &&
1010 GetLookAheadToken(LookAhead + 1).is(tok::r_paren);
1300 P.getPreprocessor().LookAhead(0).isNot(tok::colon))) {
H A DParseStmtAsm.cpp252 Token IdTok = PP.LookAhead(0);
454 if (PP.LookAhead(0).is(tok::l_brace))
H A DParseOpenMP.cpp184 Tok = P.getPreprocessor().LookAhead(0);
529 if (PP.LookAhead(0).is(tok::colon)) {
2558 if (CKind == OMPC_ordered && PP.LookAhead(/*N=*/0).isNot(tok::l_paren))
3127 if (PP.LookAhead(0).is(tok::colon))
3369 if (Tok.is(tok::identifier) && PP.LookAhead(0).is(tok::l_paren)) {
3382 Tok.is(tok::identifier) && PP.LookAhead(0).is(tok::colon)) {
H A DParseExprCXX.cpp401 PP.LookAhead(1).is(tok::identifier)) {
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DScheduleDAGRRList.cpp930 unsigned LookAhead = std::min((unsigned)Sequence.size(), local
932 if (LookAhead == 0)
935 std::vector<SUnit *>::const_iterator I = (Sequence.end() - LookAhead);
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Parse/
H A DParser.h775 /// without consuming any tokens. LookAhead(0) returns 'Tok', LookAhead(1)
778 /// Note that this differs from the Preprocessor's LookAhead method, because
783 return PP.LookAhead(N-1);
790 return PP.LookAhead(0);
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Lex/
H A DPreprocessor.h1468 /// LookAhead(0) returns the next token that would be returned by Lex(),
1469 /// LookAhead(1) returns the token after it, etc. This returns normal
1472 const Token &LookAhead(unsigned N) { function in class:clang::Preprocessor

Completed in 280 milliseconds