Home
last modified time | relevance | path

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

/external/clang/lib/Format/
DUnwrappedLineFormatter.h33 UnwrappedLineFormatter(ContinuationIndenter *Indenter, in UnwrappedLineFormatter() argument
37 : Indenter(Indenter), Whitespaces(Whitespaces), Style(Style), in UnwrappedLineFormatter()
157 ContinuationIndenter *Indenter; variable
DUnwrappedLineFormatter.cpp306 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()
[all …]
DFormatToken.cpp60 ContinuationIndenter *Indenter, in formatAfterToken() argument
109 Penalty += Indenter->addTokenToState(State, NewLine, DryRun, ExtraSpaces); in formatAfterToken()
115 ContinuationIndenter *Indenter, in formatFromToken() argument
DFormatToken.h449 ContinuationIndenter *Indenter, in formatFromToken() argument
457 ContinuationIndenter *Indenter, in formatAfterToken() argument
476 unsigned formatAfterToken(LineState &State, ContinuationIndenter *Indenter,
479 unsigned formatFromToken(LineState &State, ContinuationIndenter *Indenter,
DUnwrappedLineParser.cpp1159 CompoundStatementIndenter Indenter(this, Style, Line->Level); in parseIfThenElse() local
1178 CompoundStatementIndenter Indenter(this, Style, Line->Level); in parseIfThenElse() local
1216 CompoundStatementIndenter Indenter(this, Style, Line->Level); in parseTryCatch() local
1257 CompoundStatementIndenter Indenter(this, Style, Line->Level); in parseTryCatch() local
1329 CompoundStatementIndenter Indenter(this, Style, Line->Level); in parseForOrWhileLoop() local
1344 CompoundStatementIndenter Indenter(this, Style, Line->Level); in parseDoWhile() local
1371 CompoundStatementIndenter Indenter(this, Style, Line->Level); in parseLabel() local
1403 CompoundStatementIndenter Indenter(this, Style, Line->Level); in parseSwitch() local
DFormat.cpp1250 ContinuationIndenter Indenter(Style, Tokens.getKeywords(), SourceMgr, in format() local
1253 UnwrappedLineFormatter Formatter(&Indenter, &Whitespaces, Style, in format()