Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/lib/Format/
H A DTokenAnnotator.h94 return Last && Last->endsSequence(Tokens...); in endsWith()
H A DFormatToken.h531 return is(tok::kw_if) || endsSequence(tok::kw_constexpr, tok::kw_if) ||
532 (endsSequence(tok::identifier, tok::kw_if) && AllowConstexprMacro);
557 bool endsSequence(A K1, Ts... Tokens) const { in endsSequence() function
1711 return !Tok.endsSequence(kw_fork, kw_disable) && in isVerilogBegin()
1717 return !Tok.endsSequence(kw_join, kw_rand) && in isVerilogEnd()
H A DTokenAnnotator.cpp279 (OpeningParen.Previous->endsSequence(tok::identifier, in parseParens()
662 if (!Left->endsSequence(tok::l_square, tok::numeric_constant, in parseSquare()
664 !Left->endsSequence(tok::l_square, tok::numeric_constant, in parseSquare()
666 !Left->endsSequence(tok::l_square, tok::colon, TT_SelectorName)) { in parseSquare()
759 CurrentToken->endsSequence(tok::colon, tok::identifier, in parseSquare()
3482 if (Previous->endsSequence(tok::kw_operator)) in spaceRequiredBetween()
3498 LSquareTok.endsSequence(tok::l_square, tok::colon, in spaceRequiredBetween()
3665 Right.MatchingParen->endsSequence(TT_DictLiteral, tok::at)) { in spaceRequiredBetween()
3895 if (Left.endsSequence(tok::kw_const, Keywords.kw_as)) in spaceRequiredBefore()
3969 Left.endsSequence(tok::numeric_constant, in spaceRequiredBefore()
[all …]