Lines Matching defs:NewlinesBefore
32 unsigned NewlinesBefore, StringRef PreviousLinePostfix,
36 StartOfTokenColumn(StartOfTokenColumn), NewlinesBefore(NewlinesBefore),
64 /*Spaces=*/0, Tok.OriginalColumn, Tok.NewlinesBefore,
118 (Changes[i].NewlinesBefore > 0 || Changes[i].Kind == tok::eof) &&
137 Newlines += Changes[i].NewlinesBefore;
141 bool FollowsRBraceInColumn0 = i > 0 && Changes[i].NewlinesBefore == 0 &&
145 if (Changes[i].NewlinesBefore == 1) { // A comment on its own line.
168 (Changes[i].NewlinesBefore == 1 && i > 0 &&
180 (i == 0) || (Changes[i].NewlinesBefore > 1) ||
183 (Changes[i].NewlinesBefore == 1 && StartOfSequence == i);
207 if (C.NewlinesBefore > 0) {
224 if (C.NewlinesBefore > 0) {
240 appendNewlineText(ReplacementText, C.NewlinesBefore,
243 appendNewlineText(ReplacementText, C.NewlinesBefore);