Home | History | Annotate | Download | only in Parse

Lines Matching defs:Eof

220   // Store an artificial EOF token to ensure that we don't run off the end of
222 Token Eof;
223 Eof.startToken();
224 Eof.setKind(tok::eof);
225 Eof.setLocation(Tok.getLocation());
226 Eof.setEofData(VarD);
227 Toks.push_back(Eof);
324 DefArgEnd.setKind(tok::eof);
356 if (Tok.isNot(tok::eof) || Tok.getEofData() != Param) {
371 while (Tok.isNot(tok::eof))
374 if (Tok.is(tok::eof) && Tok.getEofData() == Param)
398 ExceptionSpecEnd.setKind(tok::eof);
440 if (Tok.isNot(tok::eof) || Tok.getEofData() != LM.Method)
453 while (Tok.isNot(tok::eof))
456 // Clean up the remaining EOF token.
457 if (Tok.is(tok::eof) && Tok.getEofData() == LM.Method)
503 BodyEnd.setKind(tok::eof);
525 while (Tok.isNot(tok::eof))
528 if (Tok.is(tok::eof) && Tok.getEofData() == LM.D)
540 while (Tok.isNot(tok::eof))
543 if (Tok.is(tok::eof) && Tok.getEofData() == LM.D)
563 while (Tok.isNot(tok::eof))
566 if (Tok.is(tok::eof) && Tok.getEofData() == LM.D)
638 // The next token should be our artificial terminating EOF token.
639 if (Tok.isNot(tok::eof)) {
648 // Consume tokens until we hit the artificial EOF.
649 while (Tok.isNot(tok::eof))
652 // Make sure this is *our* artificial EOF token.
667 // token isn't T and if not at EOF.
680 case tok::eof:
1000 // We always want this function to consume at least one token if not at EOF.
1073 case tok::eof: