Lines Matching defs:Previous
509 const FormatToken *Previous = PreviousLine->Last;
510 if (Previous) {
511 if (Previous->is(tok::comment))
512 Previous = Previous->getPreviousNonComment();
513 if (Previous) {
514 if (Previous->is(tok::greater) && !PreviousLine->InPPDirective)
516 if (Previous->is(tok::identifier)) {
518 Previous->getPreviousNonComment();
1022 assert(!B.First->Previous);
1026 B.First->Previous = A.Last;
1044 if (Tok->is(tok::hash) && !Tok->Previous && Tok->Next &&
1124 FormatToken &Previous = *State.NextToken->Previous;
1125 if (Previous.Children.size() == 0 || (!HasLBrace && !LBrace->MacroParent)) {
1131 if (NewLine || Previous.MacroParent) {
1135 P.Indent - Previous.Children[0]->Level * Style.IndentWidth;
1137 BlockFormatter->format(Previous.Children, DryRun, AdditionalIndent,
1142 if (Previous.Children[0]->First->MustBreakBefore)
1146 if (Previous.is(tok::comment))
1150 if (Previous.Children.size() > 1)
1153 const AnnotatedLine *Child = Previous.Children[0];
1278 /// An edge in the solution space from \c Previous->State to \c State,
1281 StateNode(const LineState &State, bool NewLine, StateNode *Previous)
1282 : State(State), NewLine(NewLine), Previous(Previous) {}
1285 StateNode *Previous;
1398 while (Best->Previous) {
1400 Best = Best->Previous;
1408 printLineState(Node->Previous->State);
1411 << Node->Previous->State.NextToken->Tok.getName()
1618 Newlines = 1; // Previous is an access modifier remove all new lines.