Home | History | Annotate | Download | only in Lex

Lines Matching defs:TheTok

416   Token TheTok;
417 TheLexer.LexFromRawLexer(TheTok);
418 return TheTok.getLength();
460 Token TheTok;
462 TheLexer.LexFromRawLexer(TheTok);
468 if (TheLexer.getBufferLocation() - TheTok.getLength() <= StrData)
469 return TheTok.getLocation();
475 } while (TheTok.getKind() != tok::eof);
521 Token TheTok;
542 TheLexer.LexFromRawLexer(TheTok);
546 if (TheTok.getKind() == tok::eof) {
553 if (!TheTok.isAtStartOfLine())
562 if (TheTok.isAtStartOfLine()) {
563 unsigned TokOffset = TheTok.getLocation().getRawEncoding() - StartOffset;
572 if (TheTok.getKind() == tok::comment)
575 if (TheTok.isAtStartOfLine() && TheTok.getKind() == tok::hash) {
577 Token HashTok = TheTok;
583 TheLexer.LexFromRawLexer(TheTok);
584 if (TheTok.getKind() == tok::raw_identifier && !TheTok.needsCleaning()) {
585 StringRef Keyword(TheTok.getRawIdentifierData(),
586 TheTok.getLength());
640 TheTok = HashTok;
649 SourceLocation End = IfCount? IfStartTok.getLocation() : TheTok.getLocation();
652 : TheTok.isAtStartOfLine());