Home
last modified time | relevance | path

Searched refs:BK_Block (Results 1 – 6 of 6) sorted by relevance

/external/clang/lib/Format/
DUnwrappedLineParser.cpp379 Tok->BlockKind = BK_Block; in calculateBraceTypes()
380 LBraceStack.back()->BlockKind = BK_Block; in calculateBraceTypes()
394 LBraceStack.back()->BlockKind = BK_Block; in calculateBraceTypes()
406 LBraceStack[i]->BlockKind = BK_Block; in calculateBraceTypes()
417 FormatTok->BlockKind = BK_Block; in parseBlock()
439 FormatTok->BlockKind = BK_Block; in parseBlock()
485 FormatTok->BlockKind = BK_Block; in parseChildBlock()
1259 if (FormatTok->BlockKind == BK_Block) in tryToParseBracedList()
1720 FormatTok->BlockKind = BK_Block; in parseEnum()
1966 FormatTok->BlockKind = BK_Block; in parseJavaScriptEs6ImportExport()
DFormatToken.h101 enum BraceBlockKind { BK_Unknown, BK_Block, BK_BracedInit }; enumerator
433 (BlockKind == BK_Block || is(TT_DictLiteral) || in opensBlockOrBlockTypeList()
DFormatToken.cpp85 LBrace->BlockKind == BK_Block || LBrace->Type == TT_DictLiteral || in formatAfterToken()
DTokenAnnotator.cpp442 if (Current->is(tok::l_brace) && Current->BlockKind == BK_Block) in updateParameterCount()
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()
2460 return Right.MatchingParen && Right.MatchingParen->BlockKind == BK_Block; in canBreakBefore()
DContinuationIndenter.cpp264 if (Style.ColumnLimit != 0 && Previous.BlockKind == BK_Block && in mustBreak()
616 if (NextNonComment->is(tok::l_brace) && NextNonComment->BlockKind == BK_Block) in getNewLineColumn()
922 if (Current.MatchingParen && Current.BlockKind == BK_Block) { in moveStatePastScopeOpener()
DUnwrappedLineFormatter.cpp514 LBrace->BlockKind != BK_Block || Previous.Children.size() == 0) in formatChildren()