Searched refs:BlockKind (Results 1 – 8 of 8) sorted by relevance
62 } BlockKind; typedef150 BlockKind block_kind;
337 if (LBraceStack.back()->BlockKind == BK_Unknown) { in calculateBraceTypes()362 Tok->BlockKind = BK_BracedInit; in calculateBraceTypes()363 LBraceStack.back()->BlockKind = BK_BracedInit; in calculateBraceTypes()365 Tok->BlockKind = BK_Block; in calculateBraceTypes()366 LBraceStack.back()->BlockKind = BK_Block; in calculateBraceTypes()381 LBraceStack.back()->BlockKind = BK_Block; in calculateBraceTypes()390 if (LBraceStack[i]->BlockKind == BK_Unknown) in calculateBraceTypes()391 LBraceStack[i]->BlockKind = BK_Block; in calculateBraceTypes()455 FormatTok->BlockKind = BK_Block; in parseChildBlock()1005 if (FormatTok->BlockKind == BK_Unknown) in tryToParseBracedList()[all …]
112 BlockKind(BK_Unknown), Type(TT_Unknown), SpacesRequiredBefore(0), in FormatToken()184 BraceBlockKind BlockKind; member400 (BlockKind == BK_Block || is(TT_DictLiteral) || in opensBlockTypeList()
103 Previous.isNot(TT_DictLiteral) && Previous.BlockKind == BK_BracedInit && in canBreak()230 if (Style.ColumnLimit != 0 && Previous.BlockKind == BK_Block && in mustBreak()318 (Current.isNot(TT_LineComment) || Previous.BlockKind == BK_BracedInit)) in addTokenOnCurrentLine()529 if (NextNonComment->is(tok::l_brace) && NextNonComment->BlockKind == BK_Block) in getNewLineColumn()536 Current.MatchingParen->BlockKind == BK_BracedInit) in getNewLineColumn()809 if (Current.MatchingParen && Current.BlockKind == BK_Block) { in moveStatePastScopeOpener()
334 if (Left->BlockKind == BK_BracedInit) in parseBrace()1415 if (Current->Previous->BlockKind == BK_BracedInit && in calculateFormattingInformation()1728 if ((Left.is(tok::l_brace) && Left.BlockKind != BK_Block) || in spaceRequiredBetween()1730 Right.MatchingParen->BlockKind != BK_Block)) in spaceRequiredBetween()1758 Right.BlockKind != BK_Block) in spaceRequiredBetween()1889 return Tok.is(tok::l_brace) && Tok.BlockKind == BK_Block && in isAllmanBrace()1904 Left.BlockKind != BK_Block && Left.MatchingParen) in mustBreakBefore()1915 return Left.BlockKind != BK_BracedInit && in mustBreakBefore()2024 return Left.BlockKind == BK_BracedInit; in canBreakBefore()2070 return Right.MatchingParen && Right.MatchingParen->BlockKind == BK_Block; in canBreakBefore()
68 if (LBrace->isNot(tok::l_brace) || LBrace->BlockKind == BK_Block || in formatAfterToken()
257 if (Tok->is(tok::l_brace) && Tok->BlockKind != BK_BracedInit) in tryMergeSimpleBlock()676 if (!LBrace || LBrace->isNot(tok::l_brace) || LBrace->BlockKind != BK_Block || in formatChildren()
362 static Bool is_arena_BlockKind(BlockKind bk) in is_arena_BlockKind()