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
38 : Indenter(Indenter), Whitespaces(Whitespaces), Style(Style), in UnwrappedLineFormatter()
64 ContinuationIndenter *Indenter; variable
DUnwrappedLineFormatter.cpp475 LineFormatter(ContinuationIndenter *Indenter, WhitespaceManager *Whitespaces, in LineFormatter() argument
478 : Indenter(Indenter), Whitespaces(Whitespaces), Style(Style), in LineFormatter()
563 ContinuationIndenter *Indenter; member in clang::format::__anone328b5250111::LineFormatter
574 NoColumnLimitLineFormatter(ContinuationIndenter *Indenter, in NoColumnLimitLineFormatter() argument
578 : LineFormatter(Indenter, Whitespaces, Style, BlockFormatter) {} in NoColumnLimitLineFormatter()
586 Indenter->getInitialState(FirstIndent, &Line, /*DryRun=*/false); in formatLine()
589 Indenter->mustBreak(State) || in formatLine()
590 (Indenter->canBreak(State) && State.NextToken->NewlinesBefore > 0); in formatLine()
593 Indenter->addTokenToState(State, Newline, /*DryRun=*/false); in formatLine()
602 NoLineBreakFormatter(ContinuationIndenter *Indenter, in NoLineBreakFormatter() argument
[all …]
DFormatToken.cpp76 ContinuationIndenter *Indenter, in formatAfterToken() argument
125 Penalty += Indenter->addTokenToState(State, NewLine, DryRun, ExtraSpaces); in formatAfterToken()
131 ContinuationIndenter *Indenter, in formatFromToken() argument
DFormatToken.h495 ContinuationIndenter *Indenter, in formatFromToken() argument
503 ContinuationIndenter *Indenter, in formatAfterToken() argument
522 unsigned formatAfterToken(LineState &State, ContinuationIndenter *Indenter,
525 unsigned formatFromToken(LineState &State, ContinuationIndenter *Indenter,
DUnwrappedLineParser.cpp1427 CompoundStatementIndenter Indenter(this, Style, Line->Level); in parseIfThenElse() local
1442 CompoundStatementIndenter Indenter(this, Style, Line->Level); in parseIfThenElse() local
1480 CompoundStatementIndenter Indenter(this, Style, Line->Level); in parseTryCatch() local
1518 CompoundStatementIndenter Indenter(this, Style, Line->Level); in parseTryCatch() local
1585 CompoundStatementIndenter Indenter(this, Style, Line->Level); in parseForOrWhileLoop() local
1600 CompoundStatementIndenter Indenter(this, Style, Line->Level); in parseDoWhile() local
1627 CompoundStatementIndenter Indenter(this, Style, Line->Level); in parseLabel() local
1662 CompoundStatementIndenter Indenter(this, Style, Line->Level); in parseSwitch() local
DFormat.cpp821 ContinuationIndenter Indenter(Style, Tokens.getKeywords(), in analyze() local
824 UnwrappedLineFormatter(&Indenter, &Whitespaces, Style, Tokens.getKeywords(), in analyze()