Home
last modified time | relevance | path

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

/external/clang/lib/Format/
DContinuationIndenter.cpp70 LineState ContinuationIndenter::getInitialState(unsigned FirstIndent, in getInitialState() argument
74 State.FirstIndent = FirstIndent; in getInitialState()
75 State.Column = FirstIndent; in getInitialState()
78 State.Stack.push_back(ParenState(FirstIndent, Line->Level, FirstIndent, in getInitialState()
177 (NewLineColumn == State.FirstIndent + Style.ContinuationIndentWidth || in mustBreak()
324 std::max(State.FirstIndent + Style.ContinuationIndentWidth, in addTokenOnCurrentLine()
463 State.FirstIndent + Style.ContinuationIndentWidth) in addTokenOnNewLine()
575 return Current.NestingLevel == 0 ? State.FirstIndent in getNewLineColumn()
583 return State.FirstIndent; in getNewLineColumn()
622 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.h47 LineState getInitialState(unsigned FirstIndent, const AnnotatedLine *Line,
349 unsigned FirstIndent; member