reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/lib/Format/WhitespaceManager.cpp
  157     if (Changes[i - 1].IsInsideToken && Changes[i - 1].NewlinesBefore == 0)
  167         (Changes[i].NewlinesBefore > 0 || Changes[i].Tok->is(tok::eof) ||
  212     if (Change.IsInsideToken && Change.NewlinesBefore == 0)
  270     if (Changes[i].NewlinesBefore > 0 && !InsideNestedScope) {
  286     if (InsideNestedScope && Changes[i].NewlinesBefore > 0) {
  376     if (Changes[i].NewlinesBefore != 0) {
  381       if (Changes[i].NewlinesBefore > 1 || !FoundMatchOnLine)
  412     for (unsigned j = i; j != e && Changes[j].NewlinesBefore == 0; ++j)
  450       if (Changes[I].NewlinesBefore > 0) {
  522     if (Changes[I].NewlinesBefore != 0) {
  526       if (Changes[I].NewlinesBefore > 1 || !FoundMatchOnLine)
  543     for (unsigned j = I; j != E && Changes[j].NewlinesBefore == 0; ++j)
  564         if (C.NewlinesBefore > 0)
  568         if (&C != &Changes.back() && (&C + 1)->NewlinesBefore > 0)
  619     Newlines += Changes[i].NewlinesBefore;
  642     bool FollowsRBraceInColumn0 = i > 0 && Changes[i].NewlinesBefore == 0 &&
  646     if (Changes[i].NewlinesBefore == 1) { // A comment on its own line.
  672                (Changes[i].NewlinesBefore == 1 && i > 0 &&
  683     BreakBeforeNext = (i == 0) || (Changes[i].NewlinesBefore > 1) ||
  686                       (Changes[i].NewlinesBefore == 1 && StartOfSequence == i);
  721     if (C.NewlinesBefore > 0) {
  738     if (C.NewlinesBefore > 0) {
  759         appendEscapedNewlineText(ReplacementText, C.NewlinesBefore,
  763         appendNewlineText(ReplacementText, C.NewlinesBefore);