reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
287 Previous.isNot(TT_DictLiteral) && Previous.BlockKind == BK_BracedInit && 487 if (Style.ColumnLimit != 0 && Previous.BlockKind == BK_Block && 613 (Previous.is(tok::l_brace) && Previous.BlockKind != BK_Block && 633 (Current.isNot(TT_LineComment) || Previous.BlockKind == BK_BracedInit)) 942 if (NextNonComment->is(tok::l_brace) && NextNonComment->BlockKind == BK_Block) 953 Current.MatchingParen->BlockKind == BK_BracedInit) 1311 if (Current.MatchingParen && Current.BlockKind == BK_Block) {tools/clang/lib/Format/FormatToken.cpp
87 LBrace->BlockKind == BK_Block || LBrace->Type == TT_DictLiteral ||
tools/clang/lib/Format/FormatToken.h336 if (BlockKind == BK_Block) 509 (BlockKind == BK_Block || is(TT_DictLiteral) ||tools/clang/lib/Format/TokenAnnotator.cpp
667 if (Left->BlockKind == BK_BracedInit) 714 if (Current->is(tok::l_brace) && Current->BlockKind == BK_Block) 2198 if (Current->Previous->BlockKind == BK_BracedInit && 2526 (Left.is(tok::l_brace) && Left.BlockKind != BK_Block && 2527 Right.is(tok::r_brace) && Right.BlockKind != BK_Block)) 2598 (Right.is(tok::l_brace) && Right.BlockKind == BK_Block) || 2641 if ((Left.is(tok::l_brace) && Left.BlockKind != BK_Block) || 2643 Right.MatchingParen->BlockKind != BK_Block)) 2678 Right.BlockKind != BK_Block) 2720 if (Right.is(tok::l_brace) && Right.BlockKind == BK_BracedInit && 2989 return Tok.is(tok::l_brace) && Tok.BlockKind == BK_Block && 3052 Left.BlockKind != BK_Block && Left.MatchingParen) 3066 return Left.BlockKind != BK_BracedInit && 3370 return Left.BlockKind == BK_BracedInit || 3471 return Right.MatchingParen && Right.MatchingParen->BlockKind == BK_Block; 3546 << " BK=" << Tok->BlockKind << " P=" << Tok->SplitPenaltytools/clang/lib/Format/UnwrappedLineFormatter.cpp
605 if (Tok->is(tok::l_brace) && Tok->BlockKind != BK_BracedInit) 767 LBrace->BlockKind != BK_Block || Previous.Children.size() == 0)tools/clang/lib/Format/UnwrappedLineParser.cpp
426 Tok->BlockKind = BK_BracedInit; 429 Tok->BlockKind = BK_Block; 431 Tok->BlockKind = BK_Unknown; 438 if (LBraceStack.back()->BlockKind == BK_Unknown) { 478 Tok->BlockKind = BK_BracedInit; 479 LBraceStack.back()->BlockKind = BK_BracedInit; 481 Tok->BlockKind = BK_Block; 482 LBraceStack.back()->BlockKind = BK_Block; 499 if (!LBraceStack.empty() && LBraceStack.back()->BlockKind == BK_Unknown) 500 LBraceStack.back()->BlockKind = BK_Block; 511 if (LBraceStack[i]->BlockKind == BK_Unknown) 512 LBraceStack[i]->BlockKind = BK_Block; 538 FormatTok->BlockKind = BK_Block; 568 FormatTok->BlockKind = BK_Block; 644 FormatTok->BlockKind = BK_Block; 1570 if (FormatTok->BlockKind == BK_Unknown) 1572 assert(FormatTok->BlockKind != BK_Unknown); 1573 if (FormatTok->BlockKind == BK_Block) 1636 FormatTok->BlockKind = BK_BracedInit; 2088 FormatTok->BlockKind = BK_Block; 2427 FormatTok->BlockKind = BK_Block;