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

References

tools/clang/lib/Format/TokenAnnotator.cpp
 3001     if (Right.is(tok::string_literal) && Left.is(tok::plus) && Left.Previous &&
 3001     if (Right.is(tok::string_literal) && Left.is(tok::plus) && Left.Previous &&
 3002         Left.Previous->is(tok::string_literal))
 3004     if (Left.is(TT_DictLiteral) && Left.is(tok::l_brace) && Line.Level == 0 &&
 3004     if (Left.is(TT_DictLiteral) && Left.is(tok::l_brace) && Line.Level == 0 &&
 3005         Left.Previous && Left.Previous->is(tok::equal) &&
 3005         Left.Previous && Left.Previous->is(tok::equal) &&
 3014     if (Left.is(tok::l_brace) && Line.Level == 0 &&
 3022     if (Right.is(tok::r_brace) && Left.is(tok::l_brace) &&
 3023         !Left.Children.empty())
 3027              (Left.NestingLevel == 0 && Line.Level == 0 &&
 3031     if (Right.is(tok::plus) && Left.is(tok::string_literal) && Right.Next &&
 3039     if (Left.isStringLiteral() && Right.isStringLiteral())
 3049     if ((Left.isOneOf(tok::l_brace, TT_ArrayInitializerLSquare) ||
 3051           Left.is(tok::l_paren))) &&
 3052         Left.BlockKind != BK_Block && Left.MatchingParen)
 3052         Left.BlockKind != BK_Block && Left.MatchingParen)
 3053       BeforeClosingBrace = Left.MatchingParen->Previous;
 3059       BeforeClosingBrace = &Left;
 3066     return Left.BlockKind != BK_BracedInit &&
 3067            Left.isNot(TT_CtorInitializerColon) &&
 3069   if (Left.isTrailingComment())
 3109   if (isAllmanBrace(Left) || isAllmanBrace(Right))
 3115   if (Left.is(TT_ObjCBlockLBrace) &&
 3119   if (Left.is(TT_LambdaLBrace)) {
 3120     if (Left.MatchingParen && Left.MatchingParen->Next &&
 3120     if (Left.MatchingParen && Left.MatchingParen->Next &&
 3121         Left.MatchingParen->Next->isOneOf(tok::comma, tok::r_paren) &&
 3127         (!Left.Children.empty() &&
 3134       ((Left.is(TT_AttributeSquare) && Left.is(tok::r_square)) ||
 3134       ((Left.is(TT_AttributeSquare) && Left.is(tok::r_square)) ||
 3135        (Left.is(tok::r_square) && Right.is(TT_AttributeSquare) &&
 3142       Left.is(TT_LeadingJavaAnnotation) &&
 3216       if (Left.ParameterCount == 0)
 3231     if (Left.isOneOf(tok::r_brace, tok::greater, tok::r_square))
 3240       Left.is(tok::l_paren) && Left.BlockParameterCount > 0 &&
 3240       Left.is(tok::l_paren) && Left.BlockParameterCount > 0 &&
 3243     if (Left.BlockParameterCount > 1)
 3247     if (!Left.Role)
 3249     auto Comma = Left.Role->lastComma();