Lines Matching refs:NewLine
1020 bool formatChildren(LineState &State, bool NewLine, bool DryRun, in formatChildren() argument
1031 if (NewLine || Previous.MacroParent) { in formatChildren()
1181 StateNode(const LineState &State, bool NewLine, StateNode *Previous) in StateNode()
1182 : State(State), NewLine(NewLine), Previous(Previous) {} in StateNode()
1184 bool NewLine; member
1276 bool NewLine, unsigned *Count, QueueType *Queue) { in addNextStateToQueue() argument
1277 if (NewLine && !Indenter->canBreak(PreviousNode->State)) in addNextStateToQueue()
1279 if (!NewLine && Indenter->mustBreak(PreviousNode->State)) in addNextStateToQueue()
1283 StateNode(PreviousNode->State, NewLine, PreviousNode); in addNextStateToQueue()
1284 if (!formatChildren(Node->State, NewLine, /*DryRun=*/true, Penalty)) in addNextStateToQueue()
1287 Penalty += Indenter->addTokenToState(Node->State, NewLine, true); in addNextStateToQueue()
1304 formatChildren(State, Node->NewLine, /*DryRun=*/false, Penalty); in reconstructPath()
1305 Penalty += Indenter->addTokenToState(State, Node->NewLine, false); in reconstructPath()
1309 if (Node->NewLine) { in reconstructPath()