reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
2995 const FormatToken &Left = *Right.Previous; 2996 if (Right.NewlinesBefore > 1 && Style.MaxEmptyLinesToKeep > 0) 3001 if (Right.is(tok::string_literal) && Left.is(tok::plus) && Left.Previous && 3022 if (Right.is(tok::r_brace) && Left.is(tok::l_brace) && 3031 if (Right.is(tok::plus) && Left.is(tok::string_literal) && Right.Next && 3031 if (Right.is(tok::plus) && Left.is(tok::string_literal) && Right.Next && 3032 Right.Next->is(tok::string_literal)) 3039 if (Left.isStringLiteral() && Right.isStringLiteral()) 3054 else if (Right.MatchingParen && 3055 (Right.MatchingParen->isOneOf(tok::l_brace, 3058 Right.MatchingParen->is(tok::l_paren)))) 3065 if (Right.is(tok::comment)) 3068 (Right.NewlinesBefore > 0 && Right.HasUnescapedNewline); 3068 (Right.NewlinesBefore > 0 && Right.HasUnescapedNewline); 3071 if (Right.Previous->IsUnterminatedLiteral) 3073 if (Right.is(tok::lessless) && Right.Next && 3073 if (Right.is(tok::lessless) && Right.Next && 3074 Right.Previous->is(tok::string_literal) && 3075 Right.Next->is(tok::string_literal)) 3077 if (Right.Previous->ClosesTemplateDeclaration && 3078 Right.Previous->MatchingParen && 3079 Right.Previous->MatchingParen->NestingLevel == 0 && 3082 if (Right.is(TT_CtorInitializerComma) && 3086 if (Right.is(TT_CtorInitializerColon) && 3092 Right.is(TT_InheritanceComma)) 3094 if (Right.is(tok::string_literal) && Right.TokenText.startswith("R\"")) 3094 if (Right.is(tok::string_literal) && Right.TokenText.startswith("R\"")) 3098 return Right.IsMultiline && Right.NewlinesBefore > 0; 3098 return Right.IsMultiline && Right.NewlinesBefore > 0; 3099 if ((Right.Previous->is(tok::l_brace) || 3100 (Right.Previous->is(tok::less) && Right.Previous->Previous && 3100 (Right.Previous->is(tok::less) && Right.Previous->Previous && 3101 Right.Previous->Previous->is(tok::equal))) && 3102 Right.NestingLevel == 1 && Style.Language == FormatStyle::LK_Proto) { 3107 if (Right.is(TT_InlineASMBrace)) 3108 return Right.HasUnescapedNewline; 3109 if (isAllmanBrace(Left) || isAllmanBrace(Right)) 3135 (Left.is(tok::r_square) && Right.is(TT_AttributeSquare) && 3136 Right.is(tok::l_square)))) 3143 Right.isNot(TT_LeadingJavaAnnotation) && Right.isNot(tok::l_paren) && 3143 Right.isNot(TT_LeadingJavaAnnotation) && Right.isNot(tok::l_paren) && 3147 if (Right.is(TT_ProtoExtensionLSquare)) 3179 Right.is(TT_SelectorName) && !Right.is(tok::r_square) && Right.Next) { 3179 Right.is(TT_SelectorName) && !Right.is(tok::r_square) && Right.Next) { 3179 Right.is(TT_SelectorName) && !Right.is(tok::r_square) && Right.Next) { 3182 if (Right.Previous && Right.Previous->is(tok::at)) 3182 if (Right.Previous && Right.Previous->is(tok::at)) 3188 FormatToken *LBrace = Right.Next; 3241 !Right.isOneOf(tok::l_paren, TT_LambdaLSquare)) {