Lines Matching refs:Previous
499 const FormatToken *Previous = PreviousLine->Last; in tryFitMultipleLinesInOne() local
500 if (Previous) { in tryFitMultipleLinesInOne()
501 if (Previous->is(tok::comment)) in tryFitMultipleLinesInOne()
502 Previous = Previous->getPreviousNonComment(); in tryFitMultipleLinesInOne()
503 if (Previous) { in tryFitMultipleLinesInOne()
504 if (Previous->is(tok::greater) && !PreviousLine->InPPDirective) in tryFitMultipleLinesInOne()
506 if (Previous->is(tok::identifier)) { in tryFitMultipleLinesInOne()
508 Previous->getPreviousNonComment(); in tryFitMultipleLinesInOne()
922 assert(!B.First->Previous); in join()
926 B.First->Previous = A.Last; in join()
944 if (Tok->is(tok::hash) && !Tok->Previous && Tok->Next && in markFinalized()
1024 FormatToken &Previous = *State.NextToken->Previous; in formatChildren() local
1025 if (Previous.Children.size() == 0 || (!HasLBrace && !LBrace->MacroParent)) { in formatChildren()
1031 if (NewLine || Previous.MacroParent) { in formatChildren()
1035 P.Indent - Previous.Children[0]->Level * Style.IndentWidth; in formatChildren()
1037 BlockFormatter->format(Previous.Children, DryRun, AdditionalIndent, in formatChildren()
1042 if (Previous.Children[0]->First->MustBreakBefore) in formatChildren()
1046 if (Previous.is(tok::comment)) in formatChildren()
1050 if (Previous.Children.size() > 1) in formatChildren()
1053 const AnnotatedLine *Child = Previous.Children[0]; in formatChildren()
1181 StateNode(const LineState &State, bool NewLine, StateNode *Previous) in StateNode()
1182 : State(State), NewLine(NewLine), Previous(Previous) {} in StateNode()
1185 StateNode *Previous; member
1298 while (Best->Previous) { in reconstructPath()
1300 Best = Best->Previous; in reconstructPath()
1308 printLineState(Node->Previous->State); in reconstructPath()
1311 << Node->Previous->State.NextToken->Tok.getName() in reconstructPath()