Lines Matching refs:PrevToken
1037 const FormatToken *PrevToken = Tok.getPreviousNonComment(); in determineStarAmpUsage() local
1038 if (!PrevToken) in determineStarAmpUsage()
1046 if (PrevToken->is(tok::coloncolon)) in determineStarAmpUsage()
1049 if (PrevToken->isOneOf(tok::l_paren, tok::l_square, tok::l_brace, in determineStarAmpUsage()
1052 PrevToken->isOneOf(TT_BinaryOperator, TT_ConditionalExpr, in determineStarAmpUsage()
1061 if (PrevToken->is(tok::r_paren) && PrevToken->MatchingParen && in determineStarAmpUsage()
1062 PrevToken->MatchingParen->Previous && in determineStarAmpUsage()
1063 PrevToken->MatchingParen->Previous->isOneOf(tok::kw_typeof, in determineStarAmpUsage()
1067 if (PrevToken->Tok.isLiteral() || in determineStarAmpUsage()
1068 PrevToken->isOneOf(tok::r_paren, tok::r_square, tok::kw_true, in determineStarAmpUsage()
1098 const FormatToken *PrevToken = Tok.getPreviousNonComment(); in determinePlusMinusCaretUsage() local
1099 if (!PrevToken || PrevToken->is(TT_CastRParen)) in determinePlusMinusCaretUsage()
1103 if (PrevToken->isOneOf(tok::equal, tok::l_paren, tok::comma, tok::l_square, in determinePlusMinusCaretUsage()
1109 if (PrevToken->is(TT_BinaryOperator)) in determinePlusMinusCaretUsage()
1118 const FormatToken *PrevToken = Tok.getPreviousNonComment(); in determineIncrementUsage() local
1119 if (!PrevToken || PrevToken->is(TT_CastRParen)) in determineIncrementUsage()
1121 if (PrevToken->isOneOf(tok::r_paren, tok::r_square, tok::identifier)) in determineIncrementUsage()