Searched refs:LineState (Results 1 – 8 of 8) sorted by relevance
| /llvm-project-15.0.7/clang/lib/Format/ |
| H A D | ContinuationIndenter.h | 33 struct LineState; 71 bool canBreak(const LineState &State); 74 bool mustBreak(const LineState &State); 99 void moveStatePastFakeRParens(LineState &State); 104 void moveStatePastScopeCloser(LineState &State); 106 void moveStateToNewBlock(LineState &State); 112 LineState &State, 175 unsigned getNewLineColumn(const LineState &State); 189 bool nextIsMultilineString(const LineState &State); 415 struct LineState { struct [all …]
|
| H A D | ContinuationIndenter.cpp | 236 LineState ContinuationIndenter::getInitialState(unsigned FirstIndent, in getInitialState() 240 LineState State; in getInitialState() 279 bool ContinuationIndenter::canBreak(const LineState &State) { in canBreak() 337 bool ContinuationIndenter::mustBreak(const LineState &State) { in mustBreak() 835 unsigned ContinuationIndenter::addTokenOnNewLine(LineState &State, in addTokenOnNewLine() 1782 void ContinuationIndenter::moveStateToNewBlock(LineState &State) { in moveStateToNewBlock() 1811 const FormatToken &Current, LineState &State, in reformatRawStringLiteral() 1959 LineState &State) { in addMultilineToken() 1990 LineState OriginalState = State; in handleEndOfLine() 2003 LineState StrictState = OriginalState; in handleEndOfLine() [all …]
|
| H A D | UnwrappedLineFormatter.cpp | 906 static void printLineState(const LineState &State) { in printLineState() 953 bool formatChildren(LineState &State, bool NewLine, bool DryRun, in formatChildren() 1044 LineState State = Indenter->getInitialState(FirstIndent, FirstStartColumn, in formatLine() 1070 LineState State = in formatLine() 1094 LineState State = in formatLine() 1108 bool operator()(LineState *obj1, LineState *obj2) const { in operator ()() 1123 StateNode(const LineState &State, bool NewLine, StateNode *Previous) in StateNode() 1125 LineState State; 1147 unsigned analyzeSolutionSpace(LineState &InitialState, bool DryRun) { in analyzeSolutionSpace() 1148 std::set<LineState *, CompareLineStatePointers> Seen; in analyzeSolutionSpace() [all …]
|
| H A D | BreakableToken.h | 231 virtual void updateNextToken(LineState &State) const {} in updateNextToken() 455 void updateNextToken(LineState &State) const override;
|
| H A D | FormatToken.cpp | 95 unsigned CommaSeparatedList::formatAfterToken(LineState &State, in formatAfterToken() 155 unsigned CommaSeparatedList::formatFromToken(LineState &State, in formatFromToken()
|
| H A D | FormatToken.h | 794 struct LineState; 811 virtual unsigned formatFromToken(LineState &State, in formatFromToken() 819 virtual unsigned formatAfterToken(LineState &State, in formatAfterToken() 841 unsigned formatAfterToken(LineState &State, ContinuationIndenter *Indenter, 844 unsigned formatFromToken(LineState &State, ContinuationIndenter *Indenter,
|
| H A D | BreakableToken.cpp | 1033 void BreakableLineCommentSection::updateNextToken(LineState &State) const { in updateNextToken()
|
| H A D | UnwrappedLineParser.cpp | 1042 ScopedLineState LineState(*this); in parseChildBlock() local
|