Lines Matching refs:Indenter

475   LineFormatter(ContinuationIndenter *Indenter, WhitespaceManager *Whitespaces,  in LineFormatter()  argument
478 : Indenter(Indenter), Whitespaces(Whitespaces), Style(Style), in LineFormatter()
563 ContinuationIndenter *Indenter; member in clang::format::__anon5061c3a60111::LineFormatter
574 NoColumnLimitLineFormatter(ContinuationIndenter *Indenter, in NoColumnLimitLineFormatter() argument
578 : LineFormatter(Indenter, Whitespaces, Style, BlockFormatter) {} in NoColumnLimitLineFormatter()
586 Indenter->getInitialState(FirstIndent, &Line, /*DryRun=*/false); in formatLine()
589 Indenter->mustBreak(State) || in formatLine()
590 (Indenter->canBreak(State) && State.NextToken->NewlinesBefore > 0); in formatLine()
593 Indenter->addTokenToState(State, Newline, /*DryRun=*/false); in formatLine()
602 NoLineBreakFormatter(ContinuationIndenter *Indenter, in NoLineBreakFormatter() argument
605 : LineFormatter(Indenter, Whitespaces, Style, BlockFormatter) {} in NoLineBreakFormatter()
611 LineState State = Indenter->getInitialState(FirstIndent, &Line, DryRun); in formatLine()
614 Indenter->addTokenToState(State, /*Newline=*/false, DryRun); in formatLine()
623 OptimizingLineFormatter(ContinuationIndenter *Indenter, in OptimizingLineFormatter() argument
627 : LineFormatter(Indenter, Whitespaces, Style, BlockFormatter) {} in OptimizingLineFormatter()
633 LineState State = Indenter->getInitialState(FirstIndent, &Line, DryRun); in formatLine()
749 if (NewLine && !Indenter->canBreak(PreviousNode->State)) in addNextStateToQueue()
751 if (!NewLine && Indenter->mustBreak(PreviousNode->State)) in addNextStateToQueue()
759 Penalty += Indenter->addTokenToState(Node->State, NewLine, true); in addNextStateToQueue()
778 Penalty += Indenter->addTokenToState(State, (*I)->NewLine, false); in reconstructPath()
855 NoColumnLimitLineFormatter(Indenter, Whitespaces, Style, this) in format()
858 Penalty += NoLineBreakFormatter(Indenter, Whitespaces, Style, this) in format()
861 Penalty += OptimizingLineFormatter(Indenter, Whitespaces, Style, this) in format()