Home
last modified time | relevance | path

Searched refs:FirstIndent (Results 1 – 3 of 3) sorted by relevance

/external/clang/lib/Format/
DContinuationIndenter.cpp76 LineState ContinuationIndenter::getInitialState(unsigned FirstIndent, in getInitialState() argument
80 State.FirstIndent = FirstIndent; in getInitialState()
81 State.Column = FirstIndent; in getInitialState()
84 State.Stack.push_back(ParenState(FirstIndent, Line->Level, FirstIndent, in getInitialState()
196 (NewLineColumn == State.FirstIndent + Style.ContinuationIndentWidth || in mustBreak()
341 std::max(State.FirstIndent + Style.ContinuationIndentWidth, in addTokenOnCurrentLine()
499 State.FirstIndent + Style.ContinuationIndentWidth) in addTokenOnNewLine()
617 return Current.NestingLevel == 0 ? State.FirstIndent in getNewLineColumn()
625 return State.FirstIndent; in getNewLineColumn()
664 State.FirstIndent + Style.ContinuationIndentWidth) in getNewLineColumn()
[all …]
DUnwrappedLineFormatter.cpp485 virtual unsigned formatLine(const AnnotatedLine &Line, unsigned FirstIndent,
582 unsigned formatLine(const AnnotatedLine &Line, unsigned FirstIndent, in formatLine() argument
586 Indenter->getInitialState(FirstIndent, &Line, /*DryRun=*/false); in formatLine()
608 unsigned formatLine(const AnnotatedLine &Line, unsigned FirstIndent, in formatLine() argument
611 LineState State = Indenter->getInitialState(FirstIndent, &Line, DryRun); in formatLine()
631 unsigned formatLine(const AnnotatedLine &Line, unsigned FirstIndent, in formatLine() argument
633 LineState State = Indenter->getInitialState(FirstIndent, &Line, DryRun); in formatLine()
DContinuationIndenter.h48 LineState getInitialState(unsigned FirstIndent, const AnnotatedLine *Line,
350 unsigned FirstIndent; member