Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/clang/lib/Format/
H A DTokenAnnotator.h96 return Last && Last->endsSequence(Tokens...); in endsWith()
H A DFormatToken.h474 return is(tok::kw_if) || endsSequence(tok::kw_constexpr, tok::kw_if) ||
475 (endsSequence(tok::identifier, tok::kw_if) && AllowConstexprMacro);
500 bool endsSequence(A K1, Ts... Tokens) const { in endsSequence() function
H A DTokenAnnotator.cpp261 (Left->Previous->endsSequence(tok::identifier, in parseParens()
625 if (!Left->endsSequence(tok::l_square, tok::numeric_constant, in parseSquare()
627 !Left->endsSequence(tok::l_square, tok::numeric_constant, in parseSquare()
629 !Left->endsSequence(tok::l_square, tok::colon, TT_SelectorName)) { in parseSquare()
721 CurrentToken->endsSequence(tok::colon, tok::identifier, in parseSquare()
3080 if (Previous->endsSequence(tok::kw_operator)) in spaceRequiredBetween()
3095 LSquareTok.endsSequence(tok::l_square, tok::colon, in spaceRequiredBetween()
3190 if (Left.is(tok::l_brace) && Left.endsSequence(TT_DictLiteral, tok::at)) in spaceRequiredBetween()
3194 Right.MatchingParen->endsSequence(TT_DictLiteral, tok::at)) in spaceRequiredBetween()
3368 if (Left.endsSequence(tok::kw_const, Keywords.kw_as)) { in spaceRequiredBefore()