Home
last modified time | relevance | path

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

/external/clang/lib/Format/
DUnwrappedLineFormatter.cpp137 const AnnotatedLine *getNextMergedLine(bool DryRun, in getNextMergedLine() argument
151 if (!DryRun) in getNextMergedLine()
486 bool DryRun) = 0;
509 bool formatChildren(LineState &State, bool NewLine, bool DryRun, in formatChildren() argument
524 BlockFormatter->format(Previous.Children, DryRun, AdditionalIndent, in formatChildren()
551 if (!DryRun) { in formatChildren()
557 Penalty += formatLine(*Previous.Children[0], State.Column + 1, DryRun); in formatChildren()
583 bool DryRun) override { in formatLine() argument
584 assert(!DryRun); in formatLine()
609 bool DryRun) override { in formatLine() argument
[all …]
DContinuationIndenter.h49 bool DryRun);
67 unsigned addTokenToState(LineState &State, bool Newline, bool DryRun,
77 unsigned moveStateToNextToken(LineState &State, bool DryRun, bool Newline);
101 bool DryRun);
110 void addTokenOnCurrentLine(LineState &State, bool DryRun,
120 unsigned addTokenOnNewLine(LineState &State, bool DryRun);
DContinuationIndenter.cpp78 bool DryRun) { in getInitialState() argument
94 moveStateToNextToken(State, DryRun, /*Newline=*/false); in getInitialState()
278 bool DryRun, in addTokenToState() argument
299 moveStateToNextToken(State, DryRun, /*Newline=*/false); in addTokenToState()
305 Penalty = addTokenOnNewLine(State, DryRun); in addTokenToState()
307 addTokenOnCurrentLine(State, DryRun, ExtraSpaces); in addTokenToState()
309 return moveStateToNextToken(State, DryRun, Newline) + Penalty; in addTokenToState()
312 void ContinuationIndenter::addTokenOnCurrentLine(LineState &State, bool DryRun, in addTokenOnCurrentLine() argument
334 if (!DryRun) in addTokenOnCurrentLine()
440 bool DryRun) { in addTokenOnNewLine() argument
[all …]
DFormatToken.cpp77 bool DryRun) { in formatAfterToken() argument
125 Penalty += Indenter->addTokenToState(State, NewLine, DryRun, ExtraSpaces); in formatAfterToken()
132 bool DryRun) { in formatFromToken() argument
DFormatToken.h496 bool DryRun) { in formatFromToken() argument
504 bool DryRun) { in formatAfterToken() argument
523 bool DryRun) override;
526 bool DryRun) override;
DUnwrappedLineFormatter.h43 bool DryRun = false, int AdditionalIndent = 0,