Home
last modified time | relevance | path

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

/external/clang/lib/Format/
DContinuationIndenter.h46 bool DryRun);
64 unsigned addTokenToState(LineState &State, bool Newline, bool DryRun,
74 unsigned moveStateToNextToken(LineState &State, bool DryRun, bool Newline);
98 bool DryRun);
107 void addTokenOnCurrentLine(LineState &State, bool DryRun,
117 unsigned addTokenOnNewLine(LineState &State, bool DryRun);
DContinuationIndenter.cpp71 bool DryRun) { in getInitialState() argument
87 moveStateToNextToken(State, DryRun, /*Newline=*/false); in getInitialState()
229 bool DryRun, in addTokenToState() argument
244 moveStateToNextToken(State, DryRun, /*Newline=*/false); in addTokenToState()
250 Penalty = addTokenOnNewLine(State, DryRun); in addTokenToState()
252 addTokenOnCurrentLine(State, DryRun, ExtraSpaces); in addTokenToState()
254 return moveStateToNextToken(State, DryRun, Newline) + Penalty; in addTokenToState()
257 void ContinuationIndenter::addTokenOnCurrentLine(LineState &State, bool DryRun, in addTokenOnCurrentLine() argument
279 if (!DryRun) in addTokenOnCurrentLine()
345 bool DryRun) { in addTokenOnNewLine() argument
[all …]
DFormatToken.h431 bool DryRun) { in formatFromToken() argument
439 bool DryRun) { in formatAfterToken() argument
458 bool DryRun) override;
461 bool DryRun) override;
DFormatToken.cpp61 bool DryRun) { in formatAfterToken() argument
108 Penalty += Indenter->addTokenToState(State, NewLine, DryRun, ExtraSpaces); in formatAfterToken()
115 bool DryRun) { in formatFromToken() argument
DFormat.cpp799 unsigned format(const SmallVectorImpl<AnnotatedLine *> &Lines, bool DryRun, in format() argument
805 if (DryRun && CacheIt != PenaltyCache.end()) in format()
845 if (!DryRun) { in format()
855 if (PreviousLine && PreviousLine->Affected && !DryRun) { in format()
865 if (!DryRun) in format()
881 LineState State = Indenter->getInitialState(Indent, &TheLine, DryRun); in format()
884 Indenter->addTokenToState(State, /*Newline=*/false, DryRun); in format()
889 if (!DryRun) in format()
892 Penalty += format(TheLine, Indent, DryRun); in format()
898 format(TheLine.Children, DryRun); in format()
[all …]