Home
last modified time | relevance | path

Searched refs:Indenter (Results 1 – 4 of 4) sorted by relevance

/external/clang/lib/Format/
DFormatToken.h430 ContinuationIndenter *Indenter, in formatFromToken() argument
438 ContinuationIndenter *Indenter, in formatAfterToken() argument
457 unsigned formatAfterToken(LineState &State, ContinuationIndenter *Indenter,
460 unsigned formatFromToken(LineState &State, ContinuationIndenter *Indenter,
DFormatToken.cpp60 ContinuationIndenter *Indenter, in formatAfterToken() argument
108 Penalty += Indenter->addTokenToState(State, NewLine, DryRun, ExtraSpaces); in formatAfterToken()
114 ContinuationIndenter *Indenter, in formatFromToken() argument
DFormat.cpp547 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()
[all …]
DUnwrappedLineParser.cpp1068 CompoundStatementIndenter Indenter(this, Style, Line->Level); in parseIfThenElse() local
1085 CompoundStatementIndenter Indenter(this, Style, Line->Level); in parseIfThenElse() local
1119 CompoundStatementIndenter Indenter(this, Style, Line->Level); in parseTryCatch() local
1152 CompoundStatementIndenter Indenter(this, Style, Line->Level); in parseTryCatch() local
1199 CompoundStatementIndenter Indenter(this, Style, Line->Level); in parseForOrWhileLoop() local
1214 CompoundStatementIndenter Indenter(this, Style, Line->Level); in parseDoWhile() local
1241 CompoundStatementIndenter Indenter(this, Style, Line->Level); in parseLabel() local
1273 CompoundStatementIndenter Indenter(this, Style, Line->Level); in parseSwitch() local