Searched refs:DryRun (Results 1 - 5 of 5) sorted by relevance
/external/clang/lib/Format/ |
H A D | ContinuationIndenter.h | 46 bool DryRun); 62 /// If \p DryRun is \c false, also creates and stores the required 64 unsigned addTokenToState(LineState &State, bool Newline, bool DryRun, 74 unsigned moveStateToNextToken(LineState &State, bool DryRun, bool Newline); 98 bool DryRun); 105 /// If \p DryRun is \c false, also creates and stores the required 107 void addTokenOnCurrentLine(LineState &State, bool DryRun, 115 /// If \p DryRun is \c false, also creates and stores the required 117 unsigned addTokenOnNewLine(LineState &State, bool DryRun);
|
H A D | ContinuationIndenter.cpp | 71 bool DryRun) { 87 moveStateToNextToken(State, DryRun, /*Newline=*/false); 229 bool DryRun, 244 moveStateToNextToken(State, DryRun, /*Newline=*/false); 250 Penalty = addTokenOnNewLine(State, DryRun); 252 addTokenOnCurrentLine(State, DryRun, ExtraSpaces); 254 return moveStateToNextToken(State, DryRun, Newline) + Penalty; 257 void ContinuationIndenter::addTokenOnCurrentLine(LineState &State, bool DryRun, argument 279 if (!DryRun) 345 bool DryRun) { 69 getInitialState(unsigned FirstIndent, const AnnotatedLine *Line, bool DryRun) argument 228 addTokenToState(LineState &State, bool Newline, bool DryRun, unsigned ExtraSpaces) argument 344 addTokenOnNewLine(LineState &State, bool DryRun) argument 570 moveStateToNextToken(LineState &State, bool DryRun, bool Newline) argument 935 breakProtrudingToken(const FormatToken &Current, LineState &State, bool DryRun) argument [all...] |
H A D | FormatToken.h | 431 bool DryRun) { 439 bool DryRun) { 458 bool DryRun) override; 461 bool DryRun) override; 429 formatFromToken(LineState &State, ContinuationIndenter *Indenter, bool DryRun) argument 437 formatAfterToken(LineState &State, ContinuationIndenter *Indenter, bool DryRun) argument
|
H A D | FormatToken.cpp | 61 bool DryRun) { 108 Penalty += Indenter->addTokenToState(State, NewLine, DryRun, ExtraSpaces); 115 bool DryRun) { 59 formatAfterToken(LineState &State, ContinuationIndenter *Indenter, bool DryRun) argument 113 formatFromToken(LineState &State, ContinuationIndenter *Indenter, bool DryRun) argument
|
H A D | Format.cpp | 553 Indenter->getInitialState(FirstIndent, Line, /*DryRun=*/false); 558 Indenter->addTokenToState(State, Newline, /*DryRun=*/false); 799 unsigned format(const SmallVectorImpl<AnnotatedLine *> &Lines, bool DryRun, argument 801 // Try to look up already computed penalty in DryRun-mode. 805 if (DryRun && CacheIt != PenaltyCache.end()) 845 if (!DryRun) { 855 if (PreviousLine && PreviousLine->Affected && !DryRun) { 865 if (!DryRun) 881 LineState State = Indenter->getInitialState(Indent, &TheLine, DryRun); 883 formatChildren(State, /*Newline=*/false, /*DryRun 941 format(const AnnotatedLine &Line, unsigned FirstIndent, bool DryRun) argument 1197 formatChildren(LineState &State, bool NewLine, bool DryRun, unsigned &Penalty) argument [all...] |
Completed in 73 milliseconds