Home
last modified time | relevance | path

Searched refs:BlockKind (Results 1 – 8 of 8) sorted by relevance

/external/clang/lib/Format/
DUnwrappedLineParser.cpp334 Tok->BlockKind = BK_Unknown; in calculateBraceTypes()
339 if (LBraceStack.back()->BlockKind == BK_Unknown) { in calculateBraceTypes()
366 Tok->BlockKind = BK_BracedInit; in calculateBraceTypes()
367 LBraceStack.back()->BlockKind = BK_BracedInit; in calculateBraceTypes()
369 Tok->BlockKind = BK_Block; in calculateBraceTypes()
370 LBraceStack.back()->BlockKind = BK_Block; in calculateBraceTypes()
385 LBraceStack.back()->BlockKind = BK_Block; in calculateBraceTypes()
394 if (LBraceStack[i]->BlockKind == BK_Unknown) in calculateBraceTypes()
395 LBraceStack[i]->BlockKind = BK_Block; in calculateBraceTypes()
406 FormatTok->BlockKind = BK_Block; in parseBlock()
[all …]
DFormatToken.h166 BraceBlockKind BlockKind = BK_Unknown; member
418 (BlockKind == BK_Block || is(TT_DictLiteral) || in opensBlockOrBlockTypeList()
DTokenAnnotator.cpp360 if (Left->BlockKind == BK_BracedInit) in parseBrace()
1605 if (Current->Previous->BlockKind == BK_BracedInit && in calculateFormattingInformation()
1911 (Right.is(tok::l_brace) && Right.BlockKind == BK_Block) || in spaceRequiredBetween()
1939 if ((Left.is(tok::l_brace) && Left.BlockKind != BK_Block) || in spaceRequiredBetween()
1941 Right.MatchingParen->BlockKind != BK_Block)) in spaceRequiredBetween()
1970 Right.BlockKind != BK_Block) in spaceRequiredBetween()
2117 return Tok.is(tok::l_brace) && Tok.BlockKind == BK_Block && in isAllmanBrace()
2167 Left.BlockKind != BK_Block && Left.MatchingParen) in mustBreakBefore()
2178 return Left.BlockKind != BK_BracedInit && in mustBreakBefore()
2272 return Left.BlockKind == BK_BracedInit; in canBreakBefore()
[all …]
DContinuationIndenter.cpp103 Previous.isNot(TT_DictLiteral) && Previous.BlockKind == BK_BracedInit && in canBreak()
245 if (Style.ColumnLimit != 0 && Previous.BlockKind == BK_Block && in mustBreak()
342 (Current.isNot(TT_LineComment) || Previous.BlockKind == BK_BracedInit)) in addTokenOnCurrentLine()
574 if (NextNonComment->is(tok::l_brace) && NextNonComment->BlockKind == BK_Block) in getNewLineColumn()
581 Current.MatchingParen->BlockKind == BK_BracedInit) in getNewLineColumn()
875 if (Current.MatchingParen && Current.BlockKind == BK_Block) { in moveStatePastScopeOpener()
DFormatToken.cpp83 if (!LBrace || LBrace->isNot(tok::l_brace) || LBrace->BlockKind == BK_Block || in formatAfterToken()
DUnwrappedLineFormatter.cpp384 if (Tok->is(tok::l_brace) && Tok->BlockKind != BK_BracedInit) in tryMergeSimpleBlock()
514 LBrace->BlockKind != BK_Block || Previous.Children.size() == 0) in formatChildren()
/external/valgrind/include/
Dpub_tool_addrinfo.h62 } BlockKind; typedef
150 BlockKind block_kind;
/external/valgrind/coregrind/
Dm_addrinfo.c366 static Bool is_arena_BlockKind(BlockKind bk) in is_arena_BlockKind()