Searched refs:BK_Block (Results 1 – 6 of 6) sorted by relevance
79 (getBlockKind() == BK_Block || is(TT_DictLiteral) || in opensBlockOrBlockTypeList()101 LBrace->is(BK_Block) || LBrace->is(TT_DictLiteral) || in formatAfterToken()
538 Tok->setBlockKind(BK_Block); in calculateBraceTypes()619 !PrevTok->isOneOf(tok::semi, BK_Block, tok::colon)) { in calculateBraceTypes()623 const auto BlockKind = ProbablyBracedList ? BK_BracedInit : BK_Block; in calculateBraceTypes()642 LBraceStack.back().Tok->setBlockKind(BK_Block); in calculateBraceTypes()655 Entry.Tok->setBlockKind(BK_Block); in calculateBraceTypes()772 FormatTok->setBlockKind(BK_Block); in parseBlock()826 FormatTok->setBlockKind(BK_Block); in parseBlock()831 FormatTok->setBlockKind(BK_Block); in parseBlock()983 FormatTok->setBlockKind(BK_Block); in parseChildBlock()2430 if (FormatTok->is(BK_Block)) in tryToParseBracedList()[all …]
1250 if (Current->is(tok::l_brace) && Current->is(BK_Block)) in updateParameterCount()3914 Tok->setBlockKind(BK_Block); in calculateFormattingInformation()3915 LBrace->setBlockKind(BK_Block); in calculateFormattingInformation()4391 if (Left.is(BK_Block) && Right.is(tok::r_brace) && in spaceRequiredBetween()4396 (Left.is(tok::l_brace) && Left.isNot(BK_Block) && in spaceRequiredBetween()4397 Right.is(tok::r_brace) && Right.isNot(BK_Block))) { in spaceRequiredBetween()4555 if (Right.is(tok::l_brace) && Right.is(BK_Block)) in spaceRequiredBetween()4682 if ((Left.is(tok::l_brace) && Left.isNot(BK_Block)) || in spaceRequiredBetween()4684 Right.MatchingParen->isNot(BK_Block))) { in spaceRequiredBetween()4798 Right.isNot(BK_Block)) { in spaceRequiredBetween()[all …]
611 if (Style.ColumnLimit != 0 && Previous.is(BK_Block) && in mustBreak()792 return Tok.is(tok::l_brace) && Tok.isNot(BK_Block) && in addTokenOnCurrentLine()1249 if ((NextNonComment->is(tok::l_brace) && NextNonComment->is(BK_Block)) || in getNewLineColumn()1818 if (Current.MatchingParen && Current.is(BK_Block)) { in moveStatePastScopeOpener()
224 enum BraceBlockKind { BK_Unknown, BK_Block, BK_BracedInit }; enumerator637 if (getBlockKind() == BK_Block) in closesScopeAfterBlock()
1032 bool HasLBrace = LBrace && LBrace->is(tok::l_brace) && LBrace->is(BK_Block); in formatChildren()