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

References

tools/clang/lib/Format/ContinuationIndenter.cpp
  739   const FormatToken *PreviousNonComment = Current.getPreviousNonComment();
  742     NextNonComment = &Current;
  772   if (!Current.is(TT_LambdaArrow) &&
  774        Current.NestingLevel != 0 || !PreviousNonComment ||
  776        !Current.isOneOf(Keywords.kw_async, Keywords.kw_function)))
  823       Current.NestingLevel == 0)
  828   if (Current.is(TT_BinaryOperator) && Current.CanBreakBefore)
  828   if (Current.is(TT_BinaryOperator) && Current.CanBreakBefore)
  833     if (Current.is(tok::r_brace) && Current.MatchingParen &&
  833     if (Current.is(tok::r_brace) && Current.MatchingParen &&
  836         !Current.MatchingParen->Children.empty()) {
  843         std::max(1u, std::min(Current.NewlinesBefore, MaxEmptyLinesToKeep));
  846     Whitespaces.replaceWhitespace(Current, Newlines, State.Column, State.Column,
  850   if (!Current.isTrailingComment())
  852   if (Current.is(tok::lessless))
  858   State.StartOfLineLevel = Current.NestingLevel;
  859   State.LowestLevelOnLine = Current.NestingLevel;
  864       !Style.isCpp() && Current.is(tok::r_brace) && State.Stack.size() > 1 &&
  873        Current.NestingLevel != 0) &&
  877       Current.isNot(TT_BinaryOperator) && !PreviousNonComment->opensScope())