Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/clang/lib/Format/
H A DUnwrappedLineFormatter.h30 UnwrappedLineFormatter(ContinuationIndenter *Indenter, in UnwrappedLineFormatter() argument
36 : Indenter(Indenter), Whitespaces(Whitespaces), Style(Style), in UnwrappedLineFormatter()
66 ContinuationIndenter *Indenter; variable
H A DUnwrappedLineFormatter.cpp941 LineFormatter(ContinuationIndenter *Indenter, WhitespaceManager *Whitespaces, in LineFormatter() argument
944 : Indenter(Indenter), Whitespaces(Whitespaces), Style(Style), in LineFormatter()
1044 ContinuationIndenter *Indenter; member in clang::format::__anon5560ac9b0111::LineFormatter
1055 NoColumnLimitLineFormatter(ContinuationIndenter *Indenter, in NoColumnLimitLineFormatter() argument
1059 : LineFormatter(Indenter, Whitespaces, Style, BlockFormatter) {} in NoColumnLimitLineFormatter()
1066 LineState State = Indenter->getInitialState(FirstIndent, FirstStartColumn, in formatLine()
1070 Indenter->mustBreak(State) || in formatLine()
1071 (Indenter->canBreak(State) && State.NextToken->NewlinesBefore > 0); in formatLine()
1074 Indenter->addTokenToState(State, Newline, /*DryRun=*/false); in formatLine()
1083 NoLineBreakFormatter(ContinuationIndenter *Indenter, in NoLineBreakFormatter() argument
[all …]
H A DFormatToken.cpp97 ContinuationIndenter *Indenter, in formatAfterToken() argument
151 Penalty += Indenter->addTokenToState(State, NewLine, DryRun, ExtraSpaces); in formatAfterToken()
157 ContinuationIndenter *Indenter, in formatFromToken() argument
H A DFormatToken.h845 ContinuationIndenter *Indenter, in formatFromToken() argument
853 ContinuationIndenter *Indenter, in formatAfterToken() argument
874 unsigned formatAfterToken(LineState &State, ContinuationIndenter *Indenter,
877 unsigned formatFromToken(LineState &State, ContinuationIndenter *Indenter,
H A DUnwrappedLineParser.cpp2791 CompoundStatementIndenter Indenter(this, Style, Line->Level); in parseIfThenElse() local
2825 CompoundStatementIndenter Indenter(this, Style, Line->Level); in parseIfThenElse() local
2935 CompoundStatementIndenter Indenter(this, Style, Line->Level); in parseTryCatch() local
2976 CompoundStatementIndenter Indenter(this, Style, Line->Level); in parseTryCatch() local
3097 CompoundStatementIndenter Indenter(this, Style, Line->Level); in parseLoopBody() local
3166 CompoundStatementIndenter Indenter(this, Line->Level, in parseLabel() local
3213 CompoundStatementIndenter Indenter(this, Style, Line->Level); in parseSwitch() local
H A DFormat.cpp2238 ContinuationIndenter Indenter(Style, Tokens.getKeywords(), in analyze() local
2242 UnwrappedLineFormatter(&Indenter, &Whitespaces, Style, in analyze()