Searched refs:LineState (Results 1 – 8 of 8) sorted by relevance
| /freebsd-13.1/contrib/llvm-project/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); 406 struct LineState { struct [all …]
|
| H A D | ContinuationIndenter.cpp | 235 LineState ContinuationIndenter::getInitialState(unsigned FirstIndent, in getInitialState() 239 LineState State; in getInitialState() 277 bool ContinuationIndenter::canBreak(const LineState &State) { in canBreak() 329 bool ContinuationIndenter::mustBreak(const LineState &State) { in mustBreak() 756 unsigned ContinuationIndenter::addTokenOnNewLine(LineState &State, in addTokenOnNewLine() 1619 void ContinuationIndenter::moveStateToNewBlock(LineState &State) { in moveStateToNewBlock() 1648 const FormatToken &Current, LineState &State, in reformatRawStringLiteral() 1797 LineState &State) { in addMultilineToken() 1828 LineState OriginalState = State; in handleEndOfLine() 1841 LineState StrictState = OriginalState; in handleEndOfLine() [all …]
|
| H A D | UnwrappedLineFormatter.cpp | 768 static void printLineState(const LineState &State) { in printLineState() 815 bool formatChildren(LineState &State, bool NewLine, bool DryRun, in formatChildren() 904 LineState State = Indenter->getInitialState(FirstIndent, FirstStartColumn, in formatLine() 930 LineState State = in formatLine() 954 LineState State = in formatLine() 968 bool operator()(LineState *obj1, LineState *obj2) const { in operator ()() 983 StateNode(const LineState &State, bool NewLine, StateNode *Previous) in StateNode() 985 LineState State; 1007 unsigned analyzeSolutionSpace(LineState &InitialState, bool DryRun) { in analyzeSolutionSpace() 1008 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 | 76 unsigned CommaSeparatedList::formatAfterToken(LineState &State, in formatAfterToken() 135 unsigned CommaSeparatedList::formatFromToken(LineState &State, in formatFromToken()
|
| H A D | FormatToken.h | 741 struct LineState; 758 virtual unsigned formatFromToken(LineState &State, in formatFromToken() 766 virtual unsigned formatAfterToken(LineState &State, in formatAfterToken() 788 unsigned formatAfterToken(LineState &State, ContinuationIndenter *Indenter, 791 unsigned formatFromToken(LineState &State, ContinuationIndenter *Indenter,
|
| H A D | BreakableToken.cpp | 1007 void BreakableLineCommentSection::updateNextToken(LineState &State) const { in updateNextToken()
|
| H A D | UnwrappedLineParser.cpp | 718 ScopedLineState LineState(*this); in parseChildBlock() local
|