Lines Matching refs:DryRun

553         Indenter->getInitialState(FirstIndent, Line, /*DryRun=*/false);
558 Indenter->addTokenToState(State, Newline, /*DryRun=*/false);
799 unsigned format(const SmallVectorImpl<AnnotatedLine *> &Lines, bool DryRun,
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=*/false, Penalty);
884 Indenter->addTokenToState(State, /*Newline=*/false, DryRun);
889 if (!DryRun)
892 Penalty += format(TheLine, Indent, DryRun);
898 format(TheLine.Children, DryRun);
906 if (!DryRun) {
921 } else if (!DryRun) {
926 if (!DryRun) {
940 /// If \p DryRun is \c false, directly applies the changes.
942 bool DryRun) {
943 LineState State = Indenter->getInitialState(FirstIndent, &Line, DryRun);
951 return analyzeSolutionSpace(State, DryRun);
1072 /// If \p DryRun is \c false, directly applies the changes.
1073 unsigned analyzeSolutionSpace(LineState &InitialState, bool DryRun = false) {
1123 if (!DryRun)
1142 formatChildren(State, (*I)->NewLine, /*DryRun=*/false, Penalty);
1168 if (!formatChildren(Node->State, NewLine, /*DryRun=*/true, Penalty))
1181 /// \p Penalty as well as \p State. If \p DryRun is false, also directly
1197 bool formatChildren(LineState &State, bool NewLine, bool DryRun,
1216 Penalty += format(Previous.Children, DryRun, AdditionalIndent,
1240 if (!DryRun) {
1246 Penalty += format(*Previous.Children[0], State.Column + 1, DryRun);
1743 Formatter.format(AnnotatedLines, /*DryRun=*/false);