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

References

tools/clang/lib/Format/WhitespaceManager.cpp
  212     if (Change.IsInsideToken && Change.NewlinesBefore == 0)
  212     if (Change.IsInsideToken && Change.NewlinesBefore == 0)
  213       Change.IsTrailingComment = false;
  214     Change.StartOfBlockComment = nullptr;
  215     Change.IndentationOffset = 0;
  216     if (Change.Tok->is(tok::comment)) {
  217       if (Change.Tok->is(TT_LineComment) || !Change.IsInsideToken)
  217       if (Change.Tok->is(TT_LineComment) || !Change.IsInsideToken)
  218         LastBlockComment = &Change;
  220         if ((Change.StartOfBlockComment = LastBlockComment))
  221           Change.IndentationOffset =
  222               Change.StartOfTokenColumn -
  223               Change.StartOfBlockComment->StartOfTokenColumn;