reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
2514 if (Left.is(tok::kw_return) && Right.isNot(tok::semi)) 2521 if (Right.is(tok::hashhash)) 2524 return Right.is(tok::hash); 2525 if ((Left.is(tok::l_paren) && Right.is(tok::r_paren)) || 2527 Right.is(tok::r_brace) && Right.BlockKind != BK_Block)) 2527 Right.is(tok::r_brace) && Right.BlockKind != BK_Block)) 2529 if (Left.is(tok::l_paren) || Right.is(tok::r_paren)) 2530 return (Right.is(TT_CastRParen) || 2534 if (Right.isOneOf(tok::semi, tok::comma)) 2536 if (Right.is(tok::less) && Line.Type == LT_ObjCDecl) { 2537 bool IsLightweightGeneric = Right.MatchingParen && 2538 Right.MatchingParen->Next && 2539 Right.MatchingParen->Next->is(tok::colon); 2542 if (Right.is(tok::less) && Left.is(tok::kw_template)) 2547 Right.isOneOf(tok::identifier, tok::string_literal, tok::char_constant, 2555 if (Left.is(tok::less) || Right.isOneOf(tok::greater, tok::less)) { 2558 (Left.is(TT_DictLiteral) || Right.is(TT_DictLiteral)))) { 2560 if (Left.is(tok::less) && Right.is(tok::greater)) 2566 if (Right.is(tok::ellipsis)) 2569 if (Left.is(tok::l_square) && Right.is(tok::amp)) 2571 if (Right.is(TT_PointerOrReference)) { 2589 if (Right.is(TT_FunctionTypeLParen) && Left.isNot(tok::l_paren) && 2595 return Right.Tok.isLiteral() || Right.is(TT_BlockComment) || 2595 return Right.Tok.isLiteral() || Right.is(TT_BlockComment) || 2596 (Right.isOneOf(Keywords.kw_override, Keywords.kw_final) && 2597 !Right.is(TT_StartOfName)) || 2598 (Right.is(tok::l_brace) && Right.BlockKind == BK_Block) || 2598 (Right.is(tok::l_brace) && Right.BlockKind == BK_Block) || 2599 (!Right.isOneOf(TT_PointerOrReference, TT_ArraySubscriptLSquare, 2606 if (Right.is(tok::star) && Left.is(tok::l_paren)) 2618 return (Left.is(TT_ArrayInitializerLSquare) && Right.isNot(tok::r_square) && 2622 Style.SpacesInSquareBrackets && Right.isNot(tok::r_square)); 2623 if (Right.is(tok::r_square)) 2624 return Right.MatchingParen && 2625 ((Right.MatchingParen->is(TT_ArrayInitializerLSquare) && 2626 SpaceRequiredForArrayInitializerLSquare(*Right.MatchingParen, 2629 Right.MatchingParen->isOneOf(TT_ArraySubscriptLSquare, 2632 Right.MatchingParen->is(TT_AttributeParen)); 2633 if (Right.is(tok::l_square) && 2634 !Right.isOneOf(TT_ObjCMethodExpr, TT_LambdaLSquare, 2639 if (Left.is(tok::l_brace) && Right.is(tok::r_brace)) 2642 (Right.is(tok::r_brace) && Right.MatchingParen && 2642 (Right.is(tok::r_brace) && Right.MatchingParen && 2643 Right.MatchingParen->BlockKind != BK_Block)) 2649 if (Right.is(tok::l_paren)) { 2662 (spaceRequiredBeforeParens(Right) && 2669 if (Left.is(tok::at) && Right.Tok.getObjCKeywordID() != tok::objc_not_keyword) 2671 if (Right.is(TT_UnaryOperator)) 2677 Right.is(tok::l_brace) && Right.getNextNonComment() && 2677 Right.is(tok::l_brace) && Right.getNextNonComment() && 2678 Right.BlockKind != BK_Block) 2680 if (Left.is(tok::period) || Right.is(tok::period)) 2682 if (Right.is(tok::hash) && Left.is(tok::identifier) && Left.TokenText == "L") 2692 if (Left.is(TT_TemplateCloser) && Right.is(tok::l_square)) 2697 if (Right.is(tok::r_brace) && Right.MatchingParen && 2697 if (Right.is(tok::r_brace) && Right.MatchingParen && 2698 Right.MatchingParen->endsSequence(TT_DictLiteral, tok::at)) 2701 if (Right.Type == TT_TrailingAnnotation && 2702 Right.isOneOf(tok::amp, tok::ampamp) && 2704 (!Right.Next || Right.Next->is(tok::semi))) 2704 (!Right.Next || Right.Next->is(tok::semi)))