Searched refs:LineState (Results 1 – 8 of 8) sorted by relevance
| /freebsd-14.2/contrib/llvm-project/clang/lib/Format/ |
| H A D | ContinuationIndenter.h | 34 struct LineState; 72 bool canBreak(const LineState &State); 75 bool mustBreak(const LineState &State); 100 void moveStatePastFakeRParens(LineState &State); 105 void moveStatePastScopeCloser(LineState &State); 107 void moveStateToNewBlock(LineState &State); 113 LineState &State, 176 unsigned getNewLineColumn(const LineState &State); 190 bool nextIsMultilineString(const LineState &State); 416 struct LineState { struct [all …]
|
| H A D | ContinuationIndenter.cpp | 246 LineState ContinuationIndenter::getInitialState(unsigned FirstIndent, in getInitialState() 250 LineState State; in getInitialState() 290 bool ContinuationIndenter::canBreak(const LineState &State) { in canBreak() 363 bool ContinuationIndenter::mustBreak(const LineState &State) { in mustBreak() 930 unsigned ContinuationIndenter::addTokenOnNewLine(LineState &State, in addTokenOnNewLine() 1977 void ContinuationIndenter::moveStateToNewBlock(LineState &State) { in moveStateToNewBlock() 2011 const FormatToken &Current, LineState &State, in reformatRawStringLiteral() 2159 LineState &State) { in addMultilineToken() 2190 LineState OriginalState = State; in handleEndOfLine() 2203 LineState StrictState = OriginalState; in handleEndOfLine() [all …]
|
| H A D | UnwrappedLineFormatter.cpp | 973 static void printLineState(const LineState &State) { in printLineState() 1020 bool formatChildren(LineState &State, bool NewLine, bool DryRun, in formatChildren() 1102 LineState State = Indenter->getInitialState(FirstIndent, FirstStartColumn, in formatLine() 1128 LineState State = in formatLine() 1152 LineState State = in formatLine() 1166 bool operator()(LineState *obj1, LineState *obj2) const { in operator ()() 1181 StateNode(const LineState &State, bool NewLine, StateNode *Previous) in StateNode() 1183 LineState State; 1205 unsigned analyzeSolutionSpace(LineState &InitialState, bool DryRun) { in analyzeSolutionSpace() 1206 std::set<LineState *, CompareLineStatePointers> Seen; in analyzeSolutionSpace() [all …]
|
| H A D | BreakableToken.h | 231 virtual void updateNextToken(LineState &State) const {} in updateNextToken() 499 void updateNextToken(LineState &State) const override;
|
| H A D | FormatToken.cpp | 110 unsigned CommaSeparatedList::formatAfterToken(LineState &State, in formatAfterToken() 170 unsigned CommaSeparatedList::formatFromToken(LineState &State, in formatFromToken()
|
| H A D | FormatToken.h | 880 struct LineState; 897 virtual unsigned formatFromToken(LineState &State, in formatFromToken() 905 virtual unsigned formatAfterToken(LineState &State, in formatAfterToken() 927 unsigned formatAfterToken(LineState &State, ContinuationIndenter *Indenter, 930 unsigned formatFromToken(LineState &State, ContinuationIndenter *Indenter,
|
| H A D | BreakableToken.cpp | 1145 void BreakableLineCommentSection::updateNextToken(LineState &State) const { in updateNextToken()
|
| H A D | UnwrappedLineParser.cpp | 978 ScopedLineState LineState(*this); in parseChildBlock() local
|