Searched refs:LineState (Results 1 – 8 of 8) sorted by relevance
| /freebsd/contrib/llvm-project/clang/lib/Format/ |
| H A D | ContinuationIndenter.h | 29 struct LineState; 61 LineState getInitialState(unsigned FirstIndent, unsigned FirstStartColumn, 67 bool canBreak(const LineState &State); 70 bool mustBreak(const LineState &State); 80 unsigned addTokenToState(LineState &State, bool Newline, bool DryRun, 85 unsigned getColumnLimit(const LineState &State) const; 90 unsigned moveStateToNextToken(LineState &State, bool DryRun, bool Newline); 93 void moveStatePastFakeLParens(LineState &State, bool Newline); 95 void moveStatePastFakeRParens(LineState &State); 98 void moveStatePastScopeOpener(LineState &State, bool Newline); [all …]
|
| H A D | ContinuationIndenter.cpp | 254 LineState ContinuationIndenter::getInitialState(unsigned FirstIndent, in getInitialState() 258 LineState State; in getInitialState() 298 bool ContinuationIndenter::canBreak(const LineState &State) { in canBreak() 396 bool ContinuationIndenter::mustBreak(const LineState &State) { in mustBreak() 670 unsigned ContinuationIndenter::addTokenToState(LineState &State, bool Newline, in addTokenToState() 709 void ContinuationIndenter::addTokenOnCurrentLine(LineState &State, bool DryRun, in addTokenOnCurrentLine() 1035 unsigned ContinuationIndenter::addTokenOnNewLine(LineState &State, in addTokenOnNewLine() 1308 unsigned ContinuationIndenter::getNewLineColumn(const LineState &State) { in getNewLineColumn() 1611 unsigned ContinuationIndenter::moveStateToNextToken(LineState &State, in moveStateToNextToken() 1791 void ContinuationIndenter::moveStatePastFakeLParens(LineState &State, in moveStatePastFakeLParens() [all …]
|
| H A D | UnwrappedLineFormatter.cpp | 1040 static void printLineState(const LineState &State) { in printLineState() 1087 bool formatChildren(LineState &State, bool NewLine, bool DryRun, in formatChildren() 1169 LineState State = Indenter->getInitialState(FirstIndent, FirstStartColumn, in formatLine() 1195 LineState State = in formatLine() 1219 LineState State = in formatLine() 1233 bool operator()(LineState *obj1, LineState *obj2) const { in operator ()() 1248 StateNode(const LineState &State, bool NewLine, StateNode *Previous) in StateNode() 1250 LineState State; 1272 unsigned analyzeSolutionSpace(LineState &InitialState, bool DryRun) { in analyzeSolutionSpace() 1273 std::set<LineState *, CompareLineStatePointers> Seen; in analyzeSolutionSpace() [all …]
|
| H A D | BreakableToken.h | 228 virtual void updateNextToken(LineState &State) const {} in updateNextToken() 498 void updateNextToken(LineState &State) const override;
|
| H A D | FormatToken.cpp | 87 unsigned CommaSeparatedList::formatAfterToken(LineState &State, in formatAfterToken() 147 unsigned CommaSeparatedList::formatFromToken(LineState &State, in formatFromToken()
|
| H A D | FormatToken.h | 932 struct LineState; 949 virtual unsigned formatFromToken(LineState &State, in formatFromToken() 957 virtual unsigned formatAfterToken(LineState &State, in formatAfterToken() 979 unsigned formatAfterToken(LineState &State, ContinuationIndenter *Indenter, 982 unsigned formatFromToken(LineState &State, ContinuationIndenter *Indenter,
|
| H A D | BreakableToken.cpp | 1131 void BreakableLineCommentSection::updateNextToken(LineState &State) const { in updateNextToken()
|
| H A D | UnwrappedLineParser.cpp | 984 ScopedLineState LineState(*this); in parseChildBlock() local
|