Searched refs:BlockKind (Results 1 – 8 of 8) sorted by relevance
339 Tok->BlockKind = BK_BracedInit; in calculateBraceTypes()341 Tok->BlockKind = BK_Unknown; in calculateBraceTypes()347 if (LBraceStack.back()->BlockKind == BK_Unknown) { in calculateBraceTypes()376 Tok->BlockKind = BK_BracedInit; in calculateBraceTypes()377 LBraceStack.back()->BlockKind = BK_BracedInit; in calculateBraceTypes()379 Tok->BlockKind = BK_Block; in calculateBraceTypes()380 LBraceStack.back()->BlockKind = BK_Block; in calculateBraceTypes()393 if (!LBraceStack.empty() && LBraceStack.back()->BlockKind == BK_Unknown) in calculateBraceTypes()394 LBraceStack.back()->BlockKind = BK_Block; in calculateBraceTypes()405 if (LBraceStack[i]->BlockKind == BK_Unknown) in calculateBraceTypes()[all …]
408 if (Left->BlockKind == BK_BracedInit) in parseBrace()442 if (Current->is(tok::l_brace) && Current->BlockKind == BK_Block) in updateParameterCount()1705 if (Current->Previous->BlockKind == BK_BracedInit && in calculateFormattingInformation()2024 (Right.is(tok::l_brace) && Right.BlockKind == BK_Block) || in spaceRequiredBetween()2050 if ((Left.is(tok::l_brace) && Left.BlockKind != BK_Block) || in spaceRequiredBetween()2052 Right.MatchingParen->BlockKind != BK_Block)) in spaceRequiredBetween()2081 Right.BlockKind != BK_Block) in spaceRequiredBetween()2247 return Tok.is(tok::l_brace) && Tok.BlockKind == BK_Block && in isAllmanBrace()2297 Left.BlockKind != BK_Block && Left.MatchingParen) in mustBreakBefore()2308 return Left.BlockKind != BK_BracedInit && in mustBreakBefore()[all …]
109 Previous.isNot(TT_DictLiteral) && Previous.BlockKind == BK_BracedInit && in canBreak()264 if (Style.ColumnLimit != 0 && Previous.BlockKind == BK_Block && in mustBreak()374 (Current.isNot(TT_LineComment) || Previous.BlockKind == BK_BracedInit)) in addTokenOnCurrentLine()616 if (NextNonComment->is(tok::l_brace) && NextNonComment->BlockKind == BK_Block) in getNewLineColumn()623 Current.MatchingParen->BlockKind == BK_BracedInit) in getNewLineColumn()922 if (Current.MatchingParen && Current.BlockKind == BK_Block) { in moveStatePastScopeOpener()
167 BraceBlockKind BlockKind = BK_Unknown; member433 (BlockKind == BK_Block || is(TT_DictLiteral) || in opensBlockOrBlockTypeList()
85 LBrace->BlockKind == BK_Block || LBrace->Type == TT_DictLiteral || in formatAfterToken()
384 if (Tok->is(tok::l_brace) && Tok->BlockKind != BK_BracedInit) in tryMergeSimpleBlock()514 LBrace->BlockKind != BK_Block || Previous.Children.size() == 0) in formatChildren()
62 } BlockKind; typedef150 BlockKind block_kind;
366 static Bool is_arena_BlockKind(BlockKind bk) in is_arena_BlockKind()