Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/tools/clang/lib/Format/
H A DUnwrappedLineFormatter.h31 UnwrappedLineFormatter(ContinuationIndenter *Indenter, in UnwrappedLineFormatter() argument
37 : Indenter(Indenter), Whitespaces(Whitespaces), Style(Style), in UnwrappedLineFormatter()
68 ContinuationIndenter *Indenter; variable
H A DUnwrappedLineFormatter.cpp687 : Indenter(Indenter), Whitespaces(Whitespaces), Style(Style), in LineFormatter()
774 ContinuationIndenter *Indenter; member in clang::format::__anon847ac5d30111::LineFormatter
785 NoColumnLimitLineFormatter(ContinuationIndenter *Indenter, in NoColumnLimitLineFormatter() argument
800 Indenter->mustBreak(State) || in formatLine()
804 Indenter->addTokenToState(State, Newline, /*DryRun=*/false); in formatLine()
813 NoLineBreakFormatter(ContinuationIndenter *Indenter, in NoLineBreakFormatter() argument
826 Indenter->addTokenToState( in formatLine()
836 OptimizingLineFormatter(ContinuationIndenter *Indenter, in OptimizingLineFormatter() argument
966 if (NewLine && !Indenter->canBreak(PreviousNode->State)) in addNextStateToQueue()
968 if (!NewLine && Indenter->mustBreak(PreviousNode->State)) in addNextStateToQueue()
[all …]
H A DFormatToken.cpp76 ContinuationIndenter *Indenter, in formatAfterToken() argument
129 Penalty += Indenter->addTokenToState(State, NewLine, DryRun, ExtraSpaces); in formatAfterToken()
135 ContinuationIndenter *Indenter, in formatFromToken() argument
H A DFormatToken.h586 ContinuationIndenter *Indenter, in formatFromToken() argument
594 ContinuationIndenter *Indenter, in formatAfterToken() argument
615 unsigned formatAfterToken(LineState &State, ContinuationIndenter *Indenter,
618 unsigned formatFromToken(LineState &State, ContinuationIndenter *Indenter,
H A DUnwrappedLineParser.cpp1706 CompoundStatementIndenter Indenter(this, Style, Line->Level); in parseIfThenElse() local
1721 CompoundStatementIndenter Indenter(this, Style, Line->Level); in parseIfThenElse() local
1759 CompoundStatementIndenter Indenter(this, Style, Line->Level); in parseTryCatch() local
1797 CompoundStatementIndenter Indenter(this, Style, Line->Level); in parseTryCatch() local
1868 CompoundStatementIndenter Indenter(this, Style, Line->Level); in parseForOrWhileLoop() local
1883 CompoundStatementIndenter Indenter(this, Style, Line->Level); in parseDoWhile() local
1910 CompoundStatementIndenter Indenter(this, Style, Line->Level); in parseLabel() local
1945 CompoundStatementIndenter Indenter(this, Style, Line->Level); in parseSwitch() local
H A DFormat.cpp1182 ContinuationIndenter Indenter(Style, Tokens.getKeywords(), in analyze() local
1186 UnwrappedLineFormatter(&Indenter, &Whitespaces, Style, in analyze()
/freebsd-12.1/contrib/llvm/lib/Support/
H A DJSON.cpp605 template <typename Indenter>
606 void llvm::json::Value::print(raw_ostream &OS, const Indenter &I) const { in print()
/freebsd-12.1/contrib/llvm/include/llvm/Support/
H A DJSON.h465 template <typename Indenter>
466 void print(llvm::raw_ostream &, const Indenter &) const;