Searched refs:LineState (Results 1 – 8 of 8) sorted by relevance
| /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() 386 bool ContinuationIndenter::mustBreak(const LineState &State) { in mustBreak() 648 unsigned ContinuationIndenter::addTokenToState(LineState &State, bool Newline, in addTokenToState() 687 void ContinuationIndenter::addTokenOnCurrentLine(LineState &State, bool DryRun, in addTokenOnCurrentLine() 1007 unsigned ContinuationIndenter::addTokenOnNewLine(LineState &State, in addTokenOnNewLine() 1277 unsigned ContinuationIndenter::getNewLineColumn(const LineState &State) { in getNewLineColumn() 1566 unsigned ContinuationIndenter::moveStateToNextToken(LineState &State, in moveStateToNextToken() 1746 void ContinuationIndenter::moveStatePastFakeLParens(LineState in moveStatePastFakeLParens() [all...] |
| H A D | UnwrappedLineFormatter.cpp | 1073 static void printLineState(const LineState &State) { in formatChildren() 1120 bool formatChildren(LineState &State, bool NewLine, bool DryRun, in formatLine() 1202 LineState State = Indenter->getInitialState(FirstIndent, FirstStartColumn, 1228 LineState State = in analyzeSolutionSpace() 1252 LineState State = in analyzeSolutionSpace() 1266 bool operator()(LineState *obj1, LineState *obj2) const { in analyzeSolutionSpace() 1281 StateNode(const LineState &State, bool NewLine, StateNode *Previous) 1283 LineState State; 1305 unsigned analyzeSolutionSpace(LineState in reconstructPath() [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 | 88 unsigned CommaSeparatedList::formatAfterToken(LineState &State, in formatAfterToken() 148 unsigned CommaSeparatedList::formatFromToken(LineState &State, in formatFromToken()
|
| H A D | FormatToken.h | 938 struct LineState; 955 virtual unsigned formatFromToken(LineState &State, in formatAfterToken() 963 virtual unsigned formatAfterToken(LineState &State, 985 unsigned formatAfterToken(LineState &State, ContinuationIndenter *Indenter, 988 unsigned formatFromToken(LineState &State, ContinuationIndenter *Indenter, in lastComma()
|
| H A D | BreakableToken.cpp | 1146 void BreakableLineCommentSection::updateNextToken(LineState &State) const { in updateNextToken()
|
| H A D | UnwrappedLineParser.cpp | 988 ScopedLineState LineState(*this); in parseChildBlock() 985 ScopedLineState LineState(*this); parseChildBlock() local
|