Lines Matching refs:Previous

474       const FormatToken *Previous = PreviousLine->Last;  in tryFitMultipleLinesInOne()  local
475 if (Previous) { in tryFitMultipleLinesInOne()
476 if (Previous->is(tok::comment)) in tryFitMultipleLinesInOne()
477 Previous = Previous->getPreviousNonComment(); in tryFitMultipleLinesInOne()
478 if (Previous) { in tryFitMultipleLinesInOne()
479 if (Previous->is(tok::greater) && !PreviousLine->InPPDirective) in tryFitMultipleLinesInOne()
481 if (Previous->is(tok::identifier)) { in tryFitMultipleLinesInOne()
483 Previous->getPreviousNonComment(); in tryFitMultipleLinesInOne()
876 assert(!B.First->Previous); in join()
880 B.First->Previous = A.Last; in join()
956 FormatToken &Previous = *State.NextToken->Previous; in formatChildren() local
958 Previous.Children.size() == 0) { in formatChildren()
968 P.Indent - Previous.Children[0]->Level * Style.IndentWidth; in formatChildren()
981 BlockFormatter->format(Previous.Children, DryRun, AdditionalIndent, in formatChildren()
986 if (Previous.Children[0]->First->MustBreakBefore) in formatChildren()
990 if (Previous.is(tok::comment)) in formatChildren()
994 if (Previous.Children.size() > 1) in formatChildren()
997 const AnnotatedLine *Child = Previous.Children[0]; in formatChildren()
1123 StateNode(const LineState &State, bool NewLine, StateNode *Previous) in StateNode()
1124 : State(State), NewLine(NewLine), Previous(Previous) {} in StateNode()
1127 StateNode *Previous; member
1240 while (Best->Previous) { in reconstructPath()
1242 Best = Best->Previous; in reconstructPath()
1250 printLineState(Node->Previous->State); in reconstructPath()
1253 << Node->Previous->State.NextToken->Tok.getName() in reconstructPath()