• Home
  • Raw
  • Download

Lines Matching refs:NewlinesBefore

31     unsigned NewlinesBefore, StringRef PreviousLinePostfix,  in Change()  argument
36 StartOfTokenColumn(StartOfTokenColumn), NewlinesBefore(NewlinesBefore), in Change()
71 /*Spaces=*/0, Tok.OriginalColumn, Tok.NewlinesBefore, "", "", in addUntouchableToken()
133 (Changes[i].NewlinesBefore > 0 || Changes[i].Kind == tok::eof || in calculateLineBreakInformation()
171 if (Changes[i].NewlinesBefore > 0) { in AlignTokenSequence()
244 if (Changes[i].NewlinesBefore != 0) { in AlignTokens()
249 if (Changes[i].NewlinesBefore > 1 || !FoundMatchOnLine) in AlignTokens()
289 for (unsigned j = i; j != e && Changes[j].NewlinesBefore == 0; ++j) in AlignTokens()
315 if (C.NewlinesBefore > 0) in alignConsecutiveAssignments()
319 if (&C != &Changes.back() && (&C + 1)->NewlinesBefore > 0) in alignConsecutiveAssignments()
351 Newlines += Changes[i].NewlinesBefore; in alignTrailingComments()
367 bool FollowsRBraceInColumn0 = i > 0 && Changes[i].NewlinesBefore == 0 && in alignTrailingComments()
371 if (Changes[i].NewlinesBefore == 1) { // A comment on its own line. in alignTrailingComments()
400 (Changes[i].NewlinesBefore == 1 && i > 0 && in alignTrailingComments()
412 (i == 0) || (Changes[i].NewlinesBefore > 1) || in alignTrailingComments()
415 (Changes[i].NewlinesBefore == 1 && StartOfSequence == i); in alignTrailingComments()
447 if (C.NewlinesBefore > 0) { in alignEscapedNewlines()
464 if (C.NewlinesBefore > 0) { in alignEscapedNewlines()
485 appendNewlineText(ReplacementText, C.NewlinesBefore, in generateChanges()
488 appendNewlineText(ReplacementText, C.NewlinesBefore); in generateChanges()