Home
last modified time | relevance | path

Searched refs:getBlockKind (Results 1 – 3 of 3) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Format/
H A DFormatToken.cpp95 if (is(tok::l_brace) && getBlockKind() == BK_BracedInit && Style.isCSharp()) in opensBlockOrBlockTypeList()
101 (getBlockKind() == BK_Block || is(TT_DictLiteral) || in opensBlockOrBlockTypeList()
H A DFormatToken.h368 BraceBlockKind getBlockKind() const { in getBlockKind() function
373 assert(getBlockKind() == BBK && "BraceBlockKind overflow!"); in setBlockKind()
594 bool is(BraceBlockKind BBK) const { return getBlockKind() == BBK; } in is()
612 if (getBlockKind() == BK_Block) in closesScopeAfterBlock()
H A DTokenAnnotator.cpp5790 << " BK=" << Tok->getBlockKind() << " P=" << Tok->SplitPenalty in printDebugInfo()