reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/lib/Lex/TokenLexer.cpp
  630     Tok.startToken();
  631     Tok.setFlagValue(Token::StartOfLine , AtStartOfLine);
  632     Tok.setFlagValue(Token::LeadingSpace, HasLeadingSpace || NextTokGetsSpace);
  634       Tok.setFlag(Token::LeadingEmptyMacro);
  635     return PP.HandleEndOfTokenLexer(Tok);
  645   Tok = Tokens[CurTokenIdx++];
  647     Tok.setFlag(Token::IsReinjected);
  659         isWideStringLiteralFromMacro(Tok, Tokens[CurTokenIdx])))) {
  662     if (pasteTokens(Tok))
  675       SM.isBeforeInSLocAddrSpace(Tok.getLocation(), MacroStartSLocOffset)) {
  677     if (Tok.is(tok::comment)) {
  678       instLoc = SM.createExpansionLoc(Tok.getLocation(),
  681                                       Tok.getLength());
  683       instLoc = getExpansionLocForMacroDefLoc(Tok.getLocation());
  686     Tok.setLocation(instLoc);
  692     Tok.setFlagValue(Token::StartOfLine , AtStartOfLine);
  693     Tok.setFlagValue(Token::LeadingSpace, HasLeadingSpace);
  697     if (AtStartOfLine) Tok.setFlag(Token::StartOfLine);
  698     if (HasLeadingSpace) Tok.setFlag(Token::LeadingSpace);
  704   if (!Tok.isAnnotation() && Tok.getIdentifierInfo() != nullptr) {
  704   if (!Tok.isAnnotation() && Tok.getIdentifierInfo() != nullptr) {
  707     IdentifierInfo *II = Tok.getIdentifierInfo();
  708     Tok.setKind(II->getTokenID());
  714       PP.HandlePoisonedIdentifier(Tok);
  718       return PP.HandleIdentifier(Tok);