Searched refs:LineState (Results 1 – 8 of 8) sorted by relevance
| /freebsd-12.1/contrib/llvm/tools/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); 377 struct LineState { struct [all …]
|
| H A D | ContinuationIndenter.cpp | 236 LineState ContinuationIndenter::getInitialState(unsigned FirstIndent, in getInitialState() 240 LineState State; in getInitialState() 278 bool ContinuationIndenter::canBreak(const LineState &State) { in canBreak() 330 bool ContinuationIndenter::mustBreak(const LineState &State) { in mustBreak() 727 unsigned ContinuationIndenter::addTokenOnNewLine(LineState &State, in addTokenOnNewLine() 1437 void ContinuationIndenter::moveStateToNewBlock(LineState &State) { in moveStateToNewBlock() 1466 const FormatToken &Current, LineState &State, in reformatRawStringLiteral() 1606 LineState &State) { in addMultilineToken() 1636 LineState OriginalState = State; in handleEndOfLine() 1649 LineState StrictState = OriginalState; in handleEndOfLine() [all …]
|
| H A D | UnwrappedLineFormatter.cpp | 671 static void printLineState(const LineState &State) { in printLineState() 720 bool formatChildren(LineState &State, bool NewLine, bool DryRun, in formatChildren() 796 LineState State = Indenter->getInitialState(FirstIndent, FirstStartColumn, in formatLine() 822 LineState State = in formatLine() 846 LineState State = in formatLine() 860 bool operator()(LineState *obj1, LineState *obj2) const { in operator ()() 875 StateNode(const LineState &State, bool NewLine, StateNode *Previous) in StateNode() 877 LineState State; 899 unsigned analyzeSolutionSpace(LineState &InitialState, bool DryRun) { in analyzeSolutionSpace() 900 std::set<LineState *, CompareLineStatePointers> Seen; in analyzeSolutionSpace() [all …]
|
| H A D | FormatToken.h | 568 struct LineState; 585 virtual unsigned formatFromToken(LineState &State, in formatFromToken() 593 virtual unsigned formatAfterToken(LineState &State, in formatAfterToken() 615 unsigned formatAfterToken(LineState &State, ContinuationIndenter *Indenter, 618 unsigned formatFromToken(LineState &State, ContinuationIndenter *Indenter,
|
| H A D | BreakableToken.h | 236 virtual void updateNextToken(LineState &State) const {} in updateNextToken() 458 void updateNextToken(LineState &State) const override;
|
| H A D | FormatToken.cpp | 75 unsigned CommaSeparatedList::formatAfterToken(LineState &State, in formatAfterToken() 134 unsigned CommaSeparatedList::formatFromToken(LineState &State, in formatFromToken()
|
| H A D | BreakableToken.cpp | 941 void BreakableLineCommentSection::updateNextToken(LineState &State) const { in updateNextToken()
|
| H A D | UnwrappedLineParser.cpp | 645 ScopedLineState LineState(*this); in parseChildBlock() local
|