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.cpp1053 LineFormatter(ContinuationIndenter *Indenter, WhitespaceManager *Whitespaces, in LineFormatter() argument
1056 : Indenter(Indenter), Whitespaces(Whitespaces), Style(Style), in LineFormatter()
1147 ContinuationIndenter *Indenter; member in clang::format::__anond596d1440111::LineFormatter
1158 NoColumnLimitLineFormatter(ContinuationIndenter *Indenter, in NoColumnLimitLineFormatter() argument
1162 : LineFormatter(Indenter, Whitespaces, Style, BlockFormatter) {} in NoColumnLimitLineFormatter()
1169 LineState State = Indenter->getInitialState(FirstIndent, FirstStartColumn, in formatLine()
1173 Indenter->mustBreak(State) || in formatLine()
1174 (Indenter->canBreak(State) && State.NextToken->NewlinesBefore > 0); in formatLine()
1177 Indenter->addTokenToState(State, Newline, /*DryRun=*/false); in formatLine()
1186 NoLineBreakFormatter(ContinuationIndenter *Indenter, in NoLineBreakFormatter() argument
[all …]
H A DFormatToken.cpp88 ContinuationIndenter *Indenter, in formatAfterToken() argument
142 Penalty += Indenter->addTokenToState(State, NewLine, DryRun, ExtraSpaces); in formatAfterToken()
148 ContinuationIndenter *Indenter, in formatFromToken() argument
H A DFormatToken.h950 ContinuationIndenter *Indenter, in formatFromToken() argument
958 ContinuationIndenter *Indenter, in formatAfterToken() argument
979 unsigned formatAfterToken(LineState &State, ContinuationIndenter *Indenter,
982 unsigned formatFromToken(LineState &State, ContinuationIndenter *Indenter,
H A DUnwrappedLineParser.cpp2938 CompoundStatementIndenter Indenter(this, Style, Line->Level); in parseIfThenElse() local
2975 CompoundStatementIndenter Indenter(this, Style, Line->Level); in parseIfThenElse() local
3091 CompoundStatementIndenter Indenter(this, Style, Line->Level); in parseTryCatch() local
3137 CompoundStatementIndenter Indenter(this, Style, Line->Level); in parseTryCatch() local
3262 CompoundStatementIndenter Indenter(this, Style, Line->Level); in parseLoopBody() local
3357 CompoundStatementIndenter Indenter(this, Line->Level, in parseLabel() local
3414 CompoundStatementIndenter Indenter(this, Style, Line->Level); in parseSwitch() local
H A DFormat.cpp2612 ContinuationIndenter Indenter(Style, Tokens.getKeywords(), in analyze() local
2616 UnwrappedLineFormatter(&Indenter, &Whitespaces, Style, in analyze()