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

References

tools/clang/lib/Format/WhitespaceManager.cpp
  341   auto IndentAndNestingLevel = StartAt < Changes.size()
  342                                    ? Changes[StartAt].indentAndNestingLevel()
  364                          Changes);
  372   for (unsigned e = Changes.size(); i != e; ++i) {
  373     if (Changes[i].indentAndNestingLevel() < IndentAndNestingLevel)
  376     if (Changes[i].NewlinesBefore != 0) {
  381       if (Changes[i].NewlinesBefore > 1 || !FoundMatchOnLine)
  387     if (Changes[i].Tok->is(tok::comma)) {
  389     } else if (Changes[i].indentAndNestingLevel() > IndentAndNestingLevel) {
  391       unsigned StoppedAt = AlignTokens(Style, Matches, Changes, i);
  396     if (!Matches(Changes[i]))
  410     unsigned ChangeMinColumn = Changes[i].StartOfTokenColumn;
  411     int LineLengthAfter = -Changes[i].Spaces;
  412     for (unsigned j = i; j != e && Changes[j].NewlinesBefore == 0; ++j)
  413       LineLengthAfter += Changes[j].Spaces + Changes[j].TokenLength;
  413       LineLengthAfter += Changes[j].Spaces + Changes[j].TokenLength;