Lines Matching refs:PrevToken
1156 const FormatToken *PrevToken = Tok.getPreviousNonComment(); in determineStarAmpUsage() local
1157 if (!PrevToken) in determineStarAmpUsage()
1167 if (PrevToken->is(tok::coloncolon)) in determineStarAmpUsage()
1170 if (PrevToken->isOneOf(tok::l_paren, tok::l_square, tok::l_brace, in determineStarAmpUsage()
1173 PrevToken->isOneOf(TT_BinaryOperator, TT_ConditionalExpr, in determineStarAmpUsage()
1184 if (PrevToken->is(tok::r_paren) && PrevToken->MatchingParen && in determineStarAmpUsage()
1185 PrevToken->MatchingParen->Previous && in determineStarAmpUsage()
1186 PrevToken->MatchingParen->Previous->isOneOf(tok::kw_typeof, in determineStarAmpUsage()
1190 if (PrevToken->Tok.isLiteral() || in determineStarAmpUsage()
1191 PrevToken->isOneOf(tok::r_paren, tok::r_square, tok::kw_true, in determineStarAmpUsage()
1221 const FormatToken *PrevToken = Tok.getPreviousNonComment(); in determinePlusMinusCaretUsage() local
1222 if (!PrevToken || PrevToken->is(TT_CastRParen)) in determinePlusMinusCaretUsage()
1226 if (PrevToken->isOneOf(tok::equal, tok::l_paren, tok::comma, tok::l_square, in determinePlusMinusCaretUsage()
1232 if (PrevToken->is(TT_BinaryOperator)) in determinePlusMinusCaretUsage()
1241 const FormatToken *PrevToken = Tok.getPreviousNonComment(); in determineIncrementUsage() local
1242 if (!PrevToken || PrevToken->is(TT_CastRParen)) in determineIncrementUsage()
1244 if (PrevToken->isOneOf(tok::r_paren, tok::r_square, tok::identifier)) in determineIncrementUsage()