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

References

tools/clang/lib/Format/ContinuationIndenter.cpp
  331   const FormatToken &Previous = *Current.Previous;
  332   if (Current.MustBreakBefore || Current.is(TT_InlineASMColon))
  332   if (Current.MustBreakBefore || Current.is(TT_InlineASMColon))
  335       Current.closesBlockOrBlockTypeList(Style))
  340       Current.ObjCSelectorNameParts > 1 &&
  341       Current.startsSequence(TT_SelectorName, tok::colon, tok::caret)) {
  344   if ((startsNextParameter(Current, Style) || Previous.is(tok::semi) ||
  345        (Previous.is(TT_TemplateCloser) && Current.is(TT_StartOfName) &&
  352        (Style.BreakBeforeTernaryOperators && Current.is(TT_ConditionalExpr) &&
  356       State.Stack.back().BreakBeforeParameter && !Current.isTrailingComment() &&
  357       !Current.isOneOf(tok::r_paren, tok::r_brace))
  371           : Current;
  381   if (Current.is(TT_ObjCMethodExpr) && !Previous.is(TT_SelectorName) &&
  384   if (Current.is(TT_SelectorName) && !Previous.is(tok::at) &&
  390   if (Current.isMemberAccess() && Style.ColumnLimit != 0 &&
  391       State.Column + getLengthToNextOperator(Current) > Style.ColumnLimit &&
  393        Current.NestingLevel < State.StartOfLineLevel))
  396   if (startsSegmentOfBuilderTypeCall(Current) &&
  412       State.Stack.back().BreakBeforeParameter && Current.CanBreakBefore)
  420        Previous.is(tok::comma) || Current.NestingLevel < 2) &&
  430   if (Previous.is(TT_BinaryOperator) && Current.CanBreakBefore) {
  447     if ((!IsComparison || LHSIsBinaryExpr) && !Current.isTrailingComment() &&
  451   } else if (Current.is(TT_BinaryOperator) && Current.CanBreakBefore &&
  451   } else if (Current.is(TT_BinaryOperator) && Current.CanBreakBefore &&
  457   if (Current.is(tok::lessless) && Current.isNot(TT_OverloadedOperator) &&
  457   if (Current.is(tok::lessless) && Current.isNot(TT_OverloadedOperator) &&
  462   if (Current.NestingLevel == 0 && !Current.isTrailingComment()) {
  462   if (Current.NestingLevel == 0 && !Current.isTrailingComment()) {
  470     if (Previous.is(TT_LeadingJavaAnnotation) && Current.isNot(tok::l_paren) &&
  471         Current.isNot(TT_LeadingJavaAnnotation))
  476   if (((Current.is(TT_FunctionDeclarationName) &&
  480        (Current.is(tok::kw_operator) && !Previous.is(tok::coloncolon))) &&
  488       Previous.is(tok::l_brace) && !Current.isOneOf(tok::r_brace, tok::comment))
  491   if (Current.is(tok::lessless) &&