Lines Matching refs:NewLine
953 bool formatChildren(LineState &State, bool NewLine, bool DryRun, in formatChildren() argument
964 if (NewLine) { in formatChildren()
1123 StateNode(const LineState &State, bool NewLine, StateNode *Previous) in StateNode()
1124 : State(State), NewLine(NewLine), Previous(Previous) {} in StateNode()
1126 bool NewLine; member
1218 bool NewLine, unsigned *Count, QueueType *Queue) { in addNextStateToQueue() argument
1219 if (NewLine && !Indenter->canBreak(PreviousNode->State)) in addNextStateToQueue()
1221 if (!NewLine && Indenter->mustBreak(PreviousNode->State)) in addNextStateToQueue()
1225 StateNode(PreviousNode->State, NewLine, PreviousNode); in addNextStateToQueue()
1226 if (!formatChildren(Node->State, NewLine, /*DryRun=*/true, Penalty)) in addNextStateToQueue()
1229 Penalty += Indenter->addTokenToState(Node->State, NewLine, true); in addNextStateToQueue()
1246 formatChildren(State, Node->NewLine, /*DryRun=*/false, Penalty); in reconstructPath()
1247 Penalty += Indenter->addTokenToState(State, Node->NewLine, false); in reconstructPath()
1251 if (Node->NewLine) { in reconstructPath()