|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
Declarations
tools/clang/lib/Format/ContinuationIndenter.h 33 struct LineState;
tools/clang/lib/Format/FormatToken.h 583 struct LineState;
References
tools/clang/lib/Format/BreakableToken.cpp 951 void BreakableLineCommentSection::updateNextToken(LineState &State) const {
tools/clang/lib/Format/BreakableToken.h 231 virtual void updateNextToken(LineState &State) const {}
456 void updateNextToken(LineState &State) const override;
tools/clang/lib/Format/ContinuationIndenter.cpp 235 LineState ContinuationIndenter::getInitialState(unsigned FirstIndent,
239 LineState State;
277 bool ContinuationIndenter::canBreak(const LineState &State) {
329 bool ContinuationIndenter::mustBreak(const LineState &State) {
506 unsigned ContinuationIndenter::addTokenToState(LineState &State, bool Newline,
543 void ContinuationIndenter::addTokenOnCurrentLine(LineState &State, bool DryRun,
730 unsigned ContinuationIndenter::addTokenOnNewLine(LineState &State,
917 unsigned ContinuationIndenter::getNewLineColumn(const LineState &State) {
1082 unsigned ContinuationIndenter::moveStateToNextToken(LineState &State,
1224 void ContinuationIndenter::moveStatePastFakeLParens(LineState &State,
1293 void ContinuationIndenter::moveStatePastFakeRParens(LineState &State) {
1305 void ContinuationIndenter::moveStatePastScopeOpener(LineState &State,
1427 void ContinuationIndenter::moveStatePastScopeCloser(LineState &State) {
1473 void ContinuationIndenter::moveStateToNewBlock(LineState &State) {
1502 const FormatToken &Current, LineState &State,
1651 LineState &State) {
1667 LineState &State, bool DryRun,
1682 LineState OriginalState = State;
1695 LineState StrictState = OriginalState;
1742 const LineState &State) {
1760 LineState &State, bool AllowBreak) {
1839 LineState &State, bool AllowBreak,
2211 unsigned ContinuationIndenter::getColumnLimit(const LineState &State) const {
2216 bool ContinuationIndenter::nextIsMultilineString(const LineState &State) {
tools/clang/lib/Format/ContinuationIndenter.h 65 LineState getInitialState(unsigned FirstIndent, unsigned FirstStartColumn,
71 bool canBreak(const LineState &State);
74 bool mustBreak(const LineState &State);
84 unsigned addTokenToState(LineState &State, bool Newline, bool DryRun,
89 unsigned getColumnLimit(const LineState &State) const;
94 unsigned moveStateToNextToken(LineState &State, bool DryRun, bool Newline);
97 void moveStatePastFakeLParens(LineState &State, bool Newline);
99 void moveStatePastFakeRParens(LineState &State);
102 void moveStatePastScopeOpener(LineState &State, bool Newline);
104 void moveStatePastScopeCloser(LineState &State);
106 void moveStateToNewBlock(LineState &State);
112 LineState &State,
118 unsigned handleEndOfLine(const FormatToken &Current, LineState &State,
124 const LineState &State);
145 LineState &State,
152 createBreakableToken(const FormatToken &Current, LineState &State,
162 void addTokenOnCurrentLine(LineState &State, bool DryRun,
172 unsigned addTokenOnNewLine(LineState &State, bool DryRun);
175 unsigned getNewLineColumn(const LineState &State);
182 unsigned addMultilineToken(const FormatToken &Current, LineState &State);
189 bool nextIsMultilineString(const LineState &State);
427 bool operator<(const LineState &Other) const {
tools/clang/lib/Format/FormatToken.cpp 74 unsigned CommaSeparatedList::formatAfterToken(LineState &State,
133 unsigned CommaSeparatedList::formatFromToken(LineState &State,
tools/clang/lib/Format/FormatToken.h 600 virtual unsigned formatFromToken(LineState &State,
608 virtual unsigned formatAfterToken(LineState &State,
630 unsigned formatAfterToken(LineState &State, ContinuationIndenter *Indenter,
633 unsigned formatFromToken(LineState &State, ContinuationIndenter *Indenter,
tools/clang/lib/Format/UnwrappedLineFormatter.cpp 715 static void printLineState(const LineState &State) {
762 bool formatChildren(LineState &State, bool NewLine, bool DryRun,
838 LineState State = Indenter->getInitialState(FirstIndent, FirstStartColumn,
864 LineState State =
888 LineState State =
902 bool operator()(LineState *obj1, LineState *obj2) const {
902 bool operator()(LineState *obj1, LineState *obj2) const {
917 StateNode(const LineState &State, bool NewLine, StateNode *Previous)
919 LineState State;
941 unsigned analyzeSolutionSpace(LineState &InitialState, bool DryRun) {
942 std::set<LineState *, CompareLineStatePointers> Seen;
1026 void reconstructPath(LineState &State, StateNode *Best) {