Lines Matching refs:State
29 unsigned CommaSeparatedList::format(LineState &State,
32 if (!State.NextToken->Previous || !State.NextToken->Previous->Previous ||
37 const FormatToken *LBrace = State.NextToken->Previous->Previous;
46 unsigned RemainingCodePoints = Style.ColumnLimit - State.Column +
47 State.NextToken->Previous->ColumnWidth;
58 while (State.NextToken != LBrace->MatchingParen) {
63 if (Item < Commas.size() && State.NextToken->Previous == Commas[Item]) {
64 if (!State.NextToken->isTrailingComment()) {
71 if (Column == Format->Columns || State.NextToken->MustBreakBefore) {
77 Penalty += Indenter->addTokenToState(State, NewLine, DryRun, ExtraSpaces);