HomeSort by: relevance | last modified time | path
    Searched refs:LookAhead (Results 1 - 9 of 9) sorted by relevancy

  /src/external/apache2/llvm/dist/llvm/lib/MC/MCParser/
AsmLexer.cpp 267 const char *LookAhead = CurPtr;
269 if (isDigit(*LookAhead)) {
270 ++LookAhead;
273 FirstNonDec = LookAhead;
276 if (LexHex && isHexDigit(*LookAhead))
277 ++LookAhead;
282 bool isHex = LexHex && (*LookAhead == 'h' || *LookAhead == 'H');
283 CurPtr = isHex || !FirstNonDec ? LookAhead : FirstNonDec;
  /src/external/apache2/llvm/dist/clang/lib/Parse/
ParseInit.cpp 43 switch (PP.LookAhead(0).getKind()) {
68 return PP.LookAhead(0).is(tok::colon);
ParseStmt.cpp 1014 unsigned LookAhead = 0;
1015 while (GetLookAheadToken(LookAhead).is(tok::semi)) {
1016 ++LookAhead;
1021 IsStmtExprResult = GetLookAheadToken(LookAhead).is(tok::r_brace) &&
1022 GetLookAheadToken(LookAhead + 1).is(tok::r_paren);
1321 P.getPreprocessor().LookAhead(0).isNot(tok::colon))) {
ParseStmtAsm.cpp 252 Token IdTok = PP.LookAhead(0);
454 if (PP.LookAhead(0).is(tok::l_brace))
ParseOpenMP.cpp 194 Tok = P.getPreprocessor().LookAhead(0);
538 if (PP.LookAhead(0).is(tok::colon)) {
2827 if (CKind == OMPC_ordered && PP.LookAhead(/*N=*/0).isNot(tok::l_paren))
3568 if (PP.LookAhead(0).is(tok::colon))
3814 if (Tok.is(tok::identifier) && PP.LookAhead(0).is(tok::l_paren)) {
3828 Tok.is(tok::identifier) && PP.LookAhead(0).is(tok::colon)) {
ParseExprCXX.cpp 401 PP.LookAhead(1).is(tok::identifier)) {
746 /// Use lookahead and potentially tentative parsing to determine if we are
760 // If lookahead indicates this is a lambda...
771 // If lookahead indicates an ObjC message send...
3274 // Basic lookahead to check if we have a lambda expression.
  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/
ScheduleDAGRRList.cpp 930 unsigned LookAhead = std::min((unsigned)Sequence.size(),
932 if (LookAhead == 0)
935 std::vector<SUnit *>::const_iterator I = (Sequence.end() - LookAhead);
  /src/external/apache2/llvm/dist/clang/include/clang/Parse/
Parser.h 647 /// desired, such as token caching or completion with lookahead.
777 /// without consuming any tokens. LookAhead(0) returns 'Tok', LookAhead(1)
780 /// Note that this differs from the Preprocessor's LookAhead method, because
785 return PP.LookAhead(N-1);
792 return PP.LookAhead(0);
  /src/external/apache2/llvm/dist/clang/include/clang/Lex/
Preprocessor.h 857 /// lookahead. They are "lexed" by the CachingLex() method.
1487 /// LookAhead(0) returns the next token that would be returned by Lex(),
1488 /// LookAhead(1) returns the token after it, etc. This returns normal
1491 const Token &LookAhead(unsigned N) {
1492 assert(LexLevel == 0 && "cannot use lookahead while lexing");

Completed in 33 milliseconds