Lines Matching refs:l_brace
225 if (CurrentToken->is(tok::l_brace)) in parseParens()
266 CurrentToken->isNot(tok::l_brace) && in parseSquare()
280 Contexts.back().ContextKind == tok::l_brace && in parseSquare()
281 Parent->isOneOf(tok::l_brace, tok::comma)) { in parseSquare()
358 ScopedContextCreator ContextCreator(*this, tok::l_brace, 1); in parseBrace()
373 if (CurrentToken->isOneOf(tok::colon, tok::l_brace)) { in parseBrace()
393 if (Current->is(tok::l_brace) && !Current->is(TT_DictLiteral)) in updateParameterCount()
528 case tok::l_brace: in consumeToken()
957 !Current.Next->isOneOf(tok::semi, tok::colon, tok::l_brace)) in determineTokenType()
984 PreviousNoComment->isOneOf(tok::comma, tok::l_brace)) in determineTokenType()
1114 Tok.Next->isOneOf(tok::equal, tok::semi, tok::l_brace, tok::greater); in rParenEndsCast()
1164 (NextToken->is(tok::l_brace) && !NextToken->getNextNonComment())) in determineStarAmpUsage()
1170 if (PrevToken->isOneOf(tok::l_paren, tok::l_square, tok::l_brace, in determineStarAmpUsage()
1228 tok::kw_case, tok::at, tok::l_brace)) in determinePlusMinusCaretUsage()
1558 if (Tok->isOneOf(tok::l_brace, tok::string_literal, TT_ObjCMethodExpr) || in isFunctionDeclarationName()
1749 if (Left.is(tok::equal) && Right.is(tok::l_brace)) in splitPenalty()
1882 tok::numeric_constant, tok::l_paren, tok::l_brace, in spaceRequiredBetween()
1911 (Right.is(tok::l_brace) && Right.BlockKind == BK_Block) || in spaceRequiredBetween()
1937 if (Left.is(tok::l_brace) && Right.is(tok::r_brace)) in spaceRequiredBetween()
1939 if ((Left.is(tok::l_brace) && Left.BlockKind != BK_Block) || in spaceRequiredBetween()
1969 Right.is(tok::l_brace) && Right.getNextNonComment() && in spaceRequiredBetween()
2008 if ((Left.is(tok::l_brace) || Right.is(tok::r_brace)) && in spaceRequiredBefore()
2014 !Right.isOneOf(tok::equal, tok::l_brace, tok::comma, tok::l_square, in spaceRequiredBefore()
2021 if (Left.is(tok::r_square) && Right.is(tok::l_brace)) in spaceRequiredBefore()
2088 if (Right.is(tok::coloncolon) && Left.isNot(tok::l_brace)) in spaceRequiredBefore()
2117 return Tok.is(tok::l_brace) && Tok.BlockKind == BK_Block && in isAllmanBrace()
2132 if (Left.is(TT_DictLiteral) && Left.is(tok::l_brace) && Line.Level == 0 && in mustBreakBefore()
2142 if (Left.is(tok::l_brace) && Line.Level == 0 && in mustBreakBefore()
2148 if (Right.is(tok::r_brace) && Left.is(tok::l_brace) && in mustBreakBefore()
2166 if (Left.isOneOf(tok::l_brace, TT_ArrayInitializerLSquare) && in mustBreakBefore()
2170 Right.MatchingParen->isOneOf(tok::l_brace, in mustBreakBefore()
2206 if (Right.Previous->is(tok::l_brace) && Right.NestingLevel == 1 && in mustBreakBefore()
2216 if (Style.Language == FormatStyle::LK_Proto && Left.isNot(tok::l_brace) && in mustBreakBefore()
2226 (Line.Last->is(tok::l_brace) || Style.BreakAfterJavaFieldAnnotations)) in mustBreakBefore()
2245 if (Left.is(TT_JsFatArrow) && Right.is(tok::l_brace)) in canBreakBefore()
2328 return !Right.isOneOf(tok::l_brace, tok::semi, tok::equal, tok::l_paren, in canBreakBefore()
2364 return Left.isOneOf(tok::comma, tok::coloncolon, tok::semi, tok::l_brace, in canBreakBefore()