/external/clang/lib/Format/ |
D | UnwrappedLineFormatter.h | 33 UnwrappedLineFormatter(ContinuationIndenter *Indenter, in UnwrappedLineFormatter() argument 38 : Indenter(Indenter), Whitespaces(Whitespaces), Style(Style), in UnwrappedLineFormatter() 64 ContinuationIndenter *Indenter; variable
|
D | UnwrappedLineFormatter.cpp | 475 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 …]
|
D | FormatToken.cpp | 76 ContinuationIndenter *Indenter, in formatAfterToken() argument 125 Penalty += Indenter->addTokenToState(State, NewLine, DryRun, ExtraSpaces); in formatAfterToken() 131 ContinuationIndenter *Indenter, in formatFromToken() argument
|
D | FormatToken.h | 495 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,
|
D | UnwrappedLineParser.cpp | 1427 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
|
D | Format.cpp | 821 ContinuationIndenter Indenter(Style, Tokens.getKeywords(), in analyze() local 824 UnwrappedLineFormatter(&Indenter, &Whitespaces, Style, Tokens.getKeywords(), in analyze()
|