Home
last modified time | relevance | path

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

/external/clang/lib/Format/
DUnwrappedLineParser.cpp365 Tok->BlockKind = BK_Block; in calculateBraceTypes()
366 LBraceStack.back()->BlockKind = BK_Block; in calculateBraceTypes()
381 LBraceStack.back()->BlockKind = BK_Block; in calculateBraceTypes()
391 LBraceStack[i]->BlockKind = BK_Block; in calculateBraceTypes()
455 FormatTok->BlockKind = BK_Block; in parseChildBlock()
1008 if (FormatTok->BlockKind == BK_Block) in tryToParseBracedList()
1447 FormatTok->BlockKind = BK_Block; in parseEnum()
1672 FormatTok->BlockKind = BK_Block; in parseJavaScriptEs6ImportExport()
DFormatToken.h85 BK_Block, enumerator
400 (BlockKind == BK_Block || is(TT_DictLiteral) || in opensBlockTypeList()
DFormatToken.cpp68 if (LBrace->isNot(tok::l_brace) || LBrace->BlockKind == BK_Block || in formatAfterToken()
DTokenAnnotator.cpp1728 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()
2070 return Right.MatchingParen && Right.MatchingParen->BlockKind == BK_Block; in canBreakBefore()
DContinuationIndenter.cpp230 if (Style.ColumnLimit != 0 && Previous.BlockKind == BK_Block && in mustBreak()
529 if (NextNonComment->is(tok::l_brace) && NextNonComment->BlockKind == BK_Block) in getNewLineColumn()
809 if (Current.MatchingParen && Current.BlockKind == BK_Block) { in moveStatePastScopeOpener()
DUnwrappedLineFormatter.cpp676 if (!LBrace || LBrace->isNot(tok::l_brace) || LBrace->BlockKind != BK_Block || in formatChildren()