Home
last modified time | relevance | path

Searched refs:LineState (Results 1 – 6 of 6) sorted by relevance

/freebsd-10-stable/contrib/llvm/tools/clang/lib/Format/
DContinuationIndenter.h29 struct LineState;
44 LineState getInitialState(unsigned FirstIndent, const AnnotatedLine *Line,
50 bool canBreak(const LineState &State);
53 bool mustBreak(const LineState &State);
63 unsigned addTokenToState(LineState &State, bool Newline, bool DryRun,
68 unsigned getColumnLimit(const LineState &State) const;
73 unsigned moveStateToNextToken(LineState &State, bool DryRun, bool Newline);
84 unsigned breakProtrudingToken(const FormatToken &Current, LineState &State,
94 void addTokenOnCurrentLine(LineState &State, bool DryRun,
104 unsigned addTokenOnNewLine(LineState &State, bool DryRun);
[all …]
DContinuationIndenter.cpp68 LineState ContinuationIndenter::getInitialState(unsigned FirstIndent, in getInitialState()
71 LineState State; in getInitialState()
91 bool ContinuationIndenter::canBreak(const LineState &State) { in canBreak()
117 bool ContinuationIndenter::mustBreak(const LineState &State) { in mustBreak()
203 unsigned ContinuationIndenter::addTokenToState(LineState &State, bool Newline, in addTokenToState()
232 void ContinuationIndenter::addTokenOnCurrentLine(LineState &State, bool DryRun, in addTokenOnCurrentLine()
312 unsigned ContinuationIndenter::addTokenOnNewLine(LineState &State, in addTokenOnNewLine()
468 unsigned ContinuationIndenter::moveStateToNextToken(LineState &State, in moveStateToNextToken()
684 LineState &State) { in addMultilineToken()
719 LineState &State, in breakProtrudingToken()
[all …]
DFormatToken.h378 struct LineState;
393 virtual unsigned format(LineState &State, ContinuationIndenter *Indenter, in format()
411 virtual unsigned format(LineState &State, ContinuationIndenter *Indenter,
DFormat.cpp363 LineState State = in format()
605 LineState State = Indenter->getInitialState(Indent, &TheLine, DryRun); in format()
665 LineState State = Indenter->getInitialState(FirstIndent, &Line, DryRun); in format()
679 StateNode(const LineState &State, bool NewLine, StateNode *Previous) in StateNode()
681 LineState State;
821 unsigned analyzeSolutionSpace(LineState &InitialState, bool DryRun = false) { in analyzeSolutionSpace()
822 std::set<LineState> Seen; in analyzeSolutionSpace()
880 void reconstructPath(LineState &State, StateNode *Current) { in reconstructPath()
945 bool formatChildren(LineState &State, bool NewLine, bool DryRun, in formatChildren()
DFormatToken.cpp29 unsigned CommaSeparatedList::format(LineState &State, in format()
DUnwrappedLineParser.cpp393 ScopedLineState LineState(*this); in parseChildBlock() local