Home
last modified time | relevance | path

Searched refs:LastSpace (Results 1 – 4 of 4) sorted by relevance

/llvm-project-15.0.7/clang/lib/Format/
H A DContinuationIndenter.h202 ParenState(const FormatToken *Tok, unsigned Indent, unsigned LastSpace, in ParenState()
204 : Tok(Tok), Indent(Indent), LastSpace(LastSpace), in ParenState()
232 unsigned LastSpace; member
362 if (LastSpace != Other.LastSpace)
363 return LastSpace < Other.LastSpace;
H A DContinuationIndenter.cpp790 CurrentState.LastSpace = State.Column; in addTokenOnCurrentLine()
796 CurrentState.LastSpace = State.Column; in addTokenOnCurrentLine()
802 CurrentState.LastSpace = State.Column; in addTokenOnCurrentLine()
813 CurrentState.LastSpace = State.Column; in addTokenOnCurrentLine()
816 CurrentState.LastSpace = State.Column; in addTokenOnCurrentLine()
980 CurrentState.LastSpace = State.Column; in addTokenOnNewLine()
1089 return std::max(CurrentState.LastSpace, in getNewLineColumn()
1401 CurrentState.LastSpace = State.Column; in moveStateToNextToken()
1539 NewParenState.LastSpace = std::max(NewParenState.LastSpace, State.Column); in moveStatePastFakeLParens()
1606 unsigned LastSpace = CurrentState.LastSpace; in moveStatePastScopeOpener() local
[all …]
H A DUnwrappedLineFormatter.cpp910 << P.LastSpace << "|" << P.NestedBlockIndent << " "; in printLineState()
971 P.NestedBlockIndent == P.LastSpace) { in formatChildren()
/llvm-project-15.0.7/llvm/include/llvm/Analysis/
H A DCFGPrinter.h173 unsigned LastSpace = 0;
179 LastSpace = 0;
185 if (!LastSpace)
186 LastSpace = i;
187 OutStr.insert(LastSpace, "\\l...");
188 ColNum = i - LastSpace;
189 LastSpace = 0;
194 LastSpace = i;