Home | History | Annotate | Download | only in Lex

Lines Matching refs:PrevTok

142 /// AvoidConcat - If printing PrevTok immediately followed by Tok would cause
154 const Token &PrevTok,
160 SourceLocation PrevSpellLoc = SM.getSpellingLoc(PrevTok.getLocation());
162 if (PrevSpellLoc.getLocWithOffset(PrevTok.getLength()) == SpellLoc)
165 tok::TokenKind PrevKind = PrevTok.getKind();
166 if (PrevTok.getIdentifierInfo()) // Language keyword or named operator.
169 // Look up information on when we should avoid concatenation with prevtok.
172 // If prevtok never causes a problem for anything after it, return quickly.
220 if (!PrevTok.hasUDSuffix())
240 return IsIdentifierStringPrefix(PrevTok);