Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Format/
H A DUnwrappedLineFormatter.h28 UnwrappedLineFormatter(ContinuationIndenter *Indenter, in UnwrappedLineFormatter() argument
34 : Indenter(Indenter), Whitespaces(Whitespaces), Style(Style), in UnwrappedLineFormatter()
64 ContinuationIndenter *Indenter; variable
H A DUnwrappedLineFormatter.cpp995 LineFormatter(ContinuationIndenter *Indenter, WhitespaceManager *Whitespaces, in LineFormatter() argument
998 : Indenter(Indenter), Whitespaces(Whitespaces), Style(Style), in LineFormatter()
1089 ContinuationIndenter *Indenter; member in clang::format::__anond596d1440111::LineFormatter
1100 NoColumnLimitLineFormatter(ContinuationIndenter *Indenter, in NoColumnLimitLineFormatter() argument
1104 : LineFormatter(Indenter, Whitespaces, Style, BlockFormatter) {} in NoColumnLimitLineFormatter()
1111 LineState State = Indenter->getInitialState(FirstIndent, FirstStartColumn, in formatLine()
1115 Indenter->mustBreak(State) || in formatLine()
1116 (Indenter->canBreak(State) && State.NextToken->NewlinesBefore > 0); in formatLine()
1119 Indenter->addTokenToState(State, Newline, /*DryRun=*/false); in formatLine()
1128 NoLineBreakFormatter(ContinuationIndenter *Indenter, in NoLineBreakFormatter() argument
[all …]
H A DFormatToken.cpp89 ContinuationIndenter *Indenter, in formatAfterToken() argument
143 Penalty += Indenter->addTokenToState(State, NewLine, DryRun, ExtraSpaces); in formatAfterToken()
149 ContinuationIndenter *Indenter, in formatFromToken() argument
H A DFormatToken.h948 ContinuationIndenter *Indenter, in formatFromToken() argument
956 ContinuationIndenter *Indenter, in formatAfterToken() argument
977 unsigned formatAfterToken(LineState &State, ContinuationIndenter *Indenter,
980 unsigned formatFromToken(LineState &State, ContinuationIndenter *Indenter,
H A DUnwrappedLineParser.cpp2873 CompoundStatementIndenter Indenter(this, Style, Line->Level); in parseIfThenElse() local
2910 CompoundStatementIndenter Indenter(this, Style, Line->Level); in parseIfThenElse() local
3026 CompoundStatementIndenter Indenter(this, Style, Line->Level); in parseTryCatch() local
3067 CompoundStatementIndenter Indenter(this, Style, Line->Level); in parseTryCatch() local
3186 CompoundStatementIndenter Indenter(this, Style, Line->Level); in parseLoopBody() local
3281 CompoundStatementIndenter Indenter(this, Line->Level, in parseLabel() local
3338 CompoundStatementIndenter Indenter(this, Style, Line->Level); in parseSwitch() local
H A DFormat.cpp2443 ContinuationIndenter Indenter(Style, Tokens.getKeywords(), in analyze() local
2447 UnwrappedLineFormatter(&Indenter, &Whitespaces, Style, in analyze()