Lines Matching refs:NewLine
720 bool formatChildren(LineState &State, bool NewLine, bool DryRun, in formatChildren() argument
730 if (NewLine) { in formatChildren()
875 StateNode(const LineState &State, bool NewLine, StateNode *Previous) in StateNode()
876 : State(State), NewLine(NewLine), Previous(Previous) {} in StateNode()
878 bool NewLine; member
965 bool NewLine, unsigned *Count, QueueType *Queue) { in addNextStateToQueue() argument
966 if (NewLine && !Indenter->canBreak(PreviousNode->State)) in addNextStateToQueue()
968 if (!NewLine && Indenter->mustBreak(PreviousNode->State)) in addNextStateToQueue()
972 StateNode(PreviousNode->State, NewLine, PreviousNode); in addNextStateToQueue()
973 if (!formatChildren(Node->State, NewLine, /*DryRun=*/true, Penalty)) in addNextStateToQueue()
976 Penalty += Indenter->addTokenToState(Node->State, NewLine, true); in addNextStateToQueue()
993 formatChildren(State, (*I)->NewLine, /*DryRun=*/false, Penalty); in reconstructPath()
994 Penalty += Indenter->addTokenToState(State, (*I)->NewLine, false); in reconstructPath()
998 if ((*I)->NewLine) { in reconstructPath()