Home | History | Annotate | Download | only in Parse

Lines Matching refs:Eof

228   // Store an artificial EOF token to ensure that we don't run off the end of
230 Token Eof;
231 Eof.startToken();
232 Eof.setKind(tok::eof);
233 Eof.setLocation(Tok.getLocation());
234 Toks.push_back(Eof);
365 while (Tok.getLocation() != origLoc && Tok.isNot(tok::eof))
433 while (Tok.getLocation() != origLoc && Tok.isNot(tok::eof))
444 while (Tok.getLocation() != origLoc && Tok.isNot(tok::eof))
471 while (Tok.getLocation() != origLoc && Tok.isNot(tok::eof))
538 // The next token should be our artificial terminating EOF token.
539 if (Tok.isNot(tok::eof)) {
546 // Consume tokens until we hit the artificial EOF.
547 while (Tok.isNot(tok::eof))
563 // token isn't T and if not at EOF.
576 case tok::eof: