• Home
  • Raw
  • Download

Lines Matching refs:Indenter

547   NoColumnLimitFormatter(ContinuationIndenter *Indenter) : Indenter(Indenter) {}  in NoColumnLimitFormatter()  argument
553 Indenter->getInitialState(FirstIndent, Line, /*DryRun=*/false); in format()
556 Indenter->mustBreak(State) || in format()
557 (Indenter->canBreak(State) && State.NextToken->NewlinesBefore > 0); in format()
558 Indenter->addTokenToState(State, Newline, /*DryRun=*/false); in format()
563 ContinuationIndenter *Indenter; member in clang::format::__anoneabb2b410111::NoColumnLimitFormatter
793 UnwrappedLineFormatter(ContinuationIndenter *Indenter, in UnwrappedLineFormatter() argument
796 : Indenter(Indenter), Whitespaces(Whitespaces), Style(Style), in UnwrappedLineFormatter()
881 LineState State = Indenter->getInitialState(Indent, &TheLine, DryRun); in format()
884 Indenter->addTokenToState(State, /*Newline=*/false, DryRun); in format()
888 NoColumnLimitFormatter Formatter(Indenter); in format()
943 LineState State = Indenter->getInitialState(FirstIndent, &Line, DryRun); in format()
1143 Penalty += Indenter->addTokenToState(State, (*I)->NewLine, false); in reconstructPath()
1161 if (NewLine && !Indenter->canBreak(PreviousNode->State)) in addNextStateToQueue()
1163 if (!NewLine && Indenter->mustBreak(PreviousNode->State)) in addNextStateToQueue()
1171 Penalty += Indenter->addTokenToState(Node->State, NewLine, true); in addNextStateToQueue()
1252 ContinuationIndenter *Indenter; member in clang::format::__anoneabb2b410111::UnwrappedLineFormatter
1740 ContinuationIndenter Indenter(Style, SourceMgr, Whitespaces, Encoding, in format() local
1742 UnwrappedLineFormatter Formatter(&Indenter, &Whitespaces, Style); in format()