Lines Matching refs:Indenter
306 NoColumnLimitFormatter(ContinuationIndenter *Indenter) : Indenter(Indenter) {} in NoColumnLimitFormatter() argument
312 Indenter->getInitialState(FirstIndent, Line, /*DryRun=*/false); in format()
315 Indenter->mustBreak(State) || in format()
316 (Indenter->canBreak(State) && State.NextToken->NewlinesBefore > 0); in format()
317 Indenter->addTokenToState(State, Newline, /*DryRun=*/false); in format()
322 ContinuationIndenter *Indenter; member in clang::format::__anon5061c3a60111::NoColumnLimitFormatter
423 LineState State = Indenter->getInitialState(Indent, &TheLine, DryRun); in format()
426 Indenter->addTokenToState(State, /*Newline=*/false, DryRun); in format()
430 NoColumnLimitFormatter Formatter(Indenter); in format()
477 LineState State = Indenter->getInitialState(FirstIndent, &Line, DryRun); in format()
639 Penalty += Indenter->addTokenToState(State, (*I)->NewLine, false); in reconstructPath()
656 if (NewLine && !Indenter->canBreak(PreviousNode->State)) in addNextStateToQueue()
658 if (!NewLine && Indenter->mustBreak(PreviousNode->State)) in addNextStateToQueue()
666 Penalty += Indenter->addTokenToState(Node->State, NewLine, true); in addNextStateToQueue()