Lines Matching refs:NewLine
509 bool formatChildren(LineState &State, bool NewLine, bool DryRun, in formatChildren() argument
519 if (NewLine) { in formatChildren()
661 StateNode(const LineState &State, bool NewLine, StateNode *Previous) in StateNode()
662 : State(State), NewLine(NewLine), Previous(Previous) {} in StateNode()
664 bool NewLine; member
748 bool NewLine, unsigned *Count, QueueType *Queue) { in addNextStateToQueue() argument
749 if (NewLine && !Indenter->canBreak(PreviousNode->State)) in addNextStateToQueue()
751 if (!NewLine && Indenter->mustBreak(PreviousNode->State)) in addNextStateToQueue()
755 StateNode(PreviousNode->State, NewLine, PreviousNode); in addNextStateToQueue()
756 if (!formatChildren(Node->State, NewLine, /*DryRun=*/true, Penalty)) in addNextStateToQueue()
759 Penalty += Indenter->addTokenToState(Node->State, NewLine, true); in addNextStateToQueue()
777 formatChildren(State, (*I)->NewLine, /*DryRun=*/false, Penalty); in reconstructPath()
778 Penalty += Indenter->addTokenToState(State, (*I)->NewLine, false); in reconstructPath()
782 if ((*I)->NewLine) { in reconstructPath()