Searched refs:DryRun (Results 1 – 6 of 6) sorted by relevance
/external/clang/lib/Format/ |
D | UnwrappedLineFormatter.cpp | 137 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 …]
|
D | ContinuationIndenter.h | 48 bool DryRun); 66 unsigned addTokenToState(LineState &State, bool Newline, bool DryRun, 76 unsigned moveStateToNextToken(LineState &State, bool DryRun, bool Newline); 100 bool DryRun); 109 void addTokenOnCurrentLine(LineState &State, bool DryRun, 119 unsigned addTokenOnNewLine(LineState &State, bool DryRun);
|
D | ContinuationIndenter.cpp | 72 bool DryRun) { in getInitialState() argument 88 moveStateToNextToken(State, DryRun, /*Newline=*/false); in getInitialState() 257 bool DryRun, in addTokenToState() argument 278 moveStateToNextToken(State, DryRun, /*Newline=*/false); in addTokenToState() 284 Penalty = addTokenOnNewLine(State, DryRun); in addTokenToState() 286 addTokenOnCurrentLine(State, DryRun, ExtraSpaces); in addTokenToState() 288 return moveStateToNextToken(State, DryRun, Newline) + Penalty; in addTokenToState() 291 void ContinuationIndenter::addTokenOnCurrentLine(LineState &State, bool DryRun, in addTokenOnCurrentLine() argument 313 if (!DryRun) in addTokenOnCurrentLine() 407 bool DryRun) { in addTokenOnNewLine() argument [all …]
|
D | FormatToken.cpp | 76 bool DryRun) { in formatAfterToken() argument 124 Penalty += Indenter->addTokenToState(State, NewLine, DryRun, ExtraSpaces); in formatAfterToken() 131 bool DryRun) { in formatFromToken() argument
|
D | FormatToken.h | 453 bool DryRun) { in formatFromToken() argument 461 bool DryRun) { in formatAfterToken() argument 480 bool DryRun) override; 483 bool DryRun) override;
|
D | UnwrappedLineFormatter.h | 43 bool DryRun = false, int AdditionalIndent = 0,
|