• Home
  • Raw
  • Download

Lines Matching refs:TheTok

450   Token TheTok;  in MeasureTokenLength()  local
451 if (getRawToken(Loc, TheTok, SM, LangOpts)) in MeasureTokenLength()
453 return TheTok.getLength(); in MeasureTokenLength()
536 Token TheTok; in getBeginningOfFileToken() local
538 TheLexer.LexFromRawLexer(TheTok); in getBeginningOfFileToken()
544 if (TheLexer.getBufferLocation() - TheTok.getLength() <= StrData) in getBeginningOfFileToken()
545 return TheTok.getLocation(); in getBeginningOfFileToken()
551 } while (TheTok.getKind() != tok::eof); in getBeginningOfFileToken()
598 Token TheTok; in ComputePreamble() local
618 TheLexer.LexFromRawLexer(TheTok); in ComputePreamble()
622 if (TheTok.getKind() == tok::eof) { in ComputePreamble()
628 if (!TheTok.isAtStartOfLine()) in ComputePreamble()
637 if (TheTok.isAtStartOfLine()) { in ComputePreamble()
638 unsigned TokOffset = TheTok.getLocation().getRawEncoding() - StartOffset; in ComputePreamble()
647 if (TheTok.getKind() == tok::comment) { in ComputePreamble()
649 ActiveCommentLoc = TheTok.getLocation(); in ComputePreamble()
653 if (TheTok.isAtStartOfLine() && TheTok.getKind() == tok::hash) { in ComputePreamble()
655 Token HashTok = TheTok; in ComputePreamble()
662 TheLexer.LexFromRawLexer(TheTok); in ComputePreamble()
663 if (TheTok.getKind() == tok::raw_identifier && !TheTok.needsCleaning()) { in ComputePreamble()
664 StringRef Keyword = TheTok.getRawIdentifier(); in ComputePreamble()
702 TheTok = HashTok; in ComputePreamble()
715 End = TheTok.getLocation(); in ComputePreamble()
718 TheTok.isAtStartOfLine()); in ComputePreamble()