Lines Matching refs:NewLine
975 bool formatChildren(LineState &State, bool NewLine, bool DryRun, in formatChildren() argument
986 if (NewLine) { in formatChildren()
1145 StateNode(const LineState &State, bool NewLine, StateNode *Previous) in StateNode()
1146 : State(State), NewLine(NewLine), Previous(Previous) {} in StateNode()
1148 bool NewLine; member
1240 bool NewLine, unsigned *Count, QueueType *Queue) { in addNextStateToQueue() argument
1241 if (NewLine && !Indenter->canBreak(PreviousNode->State)) in addNextStateToQueue()
1243 if (!NewLine && Indenter->mustBreak(PreviousNode->State)) in addNextStateToQueue()
1247 StateNode(PreviousNode->State, NewLine, PreviousNode); in addNextStateToQueue()
1248 if (!formatChildren(Node->State, NewLine, /*DryRun=*/true, Penalty)) in addNextStateToQueue()
1251 Penalty += Indenter->addTokenToState(Node->State, NewLine, true); in addNextStateToQueue()
1268 formatChildren(State, Node->NewLine, /*DryRun=*/false, Penalty); in reconstructPath()
1269 Penalty += Indenter->addTokenToState(State, Node->NewLine, false); in reconstructPath()
1273 if (Node->NewLine) { in reconstructPath()