Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/clang/lib/Format/
H A DFormatToken.h557 return is(tok::kw_if) || endsSequence(tok::kw_constexpr, tok::kw_if) ||
558 (endsSequence(tok::identifier, tok::kw_if) && AllowConstexprMacro);
583 bool endsSequence(A K1, Ts... Tokens) const { in endsSequence() function
1754 return !Tok.endsSequence(kw_fork, kw_disable) && in isVerilogBegin()
1760 return !Tok.endsSequence(kw_join, kw_rand) && in isVerilogEnd()
1772 if (Tok.endsSequence(kw_function, kw_with)) in isVerilogHierarchy()
H A DTokenAnnotator.h99 return Last && Last->endsSequence(Tokens...); in endsWith()
H A DTokenAnnotator.cpp312 (OpeningParen.Previous->endsSequence(tok::identifier, in parseParens()
680 if (!Left->endsSequence(tok::l_square, tok::numeric_constant, in parseSquare()
682 !Left->endsSequence(tok::l_square, tok::numeric_constant, in parseSquare()
684 !Left->endsSequence(tok::l_square, tok::colon, TT_SelectorName)) { in parseSquare()
780 CurrentToken->endsSequence(tok::colon, tok::identifier, in parseSquare()
2401 if (PrevToken->endsSequence(tok::r_square, tok::l_square, tok::kw_delete)) in determineStarAmpUsage()
3609 if (Previous->endsSequence(tok::kw_operator)) in spaceRequiredBetween()
3625 LSquareTok.endsSequence(tok::l_square, tok::colon, in spaceRequiredBetween()
3788 if (Left.is(tok::l_brace) && Left.endsSequence(TT_DictLiteral, tok::at)) { in spaceRequiredBetween()
3793 Right.MatchingParen->endsSequence(TT_DictLiteral, tok::at)) { in spaceRequiredBetween()
[all …]
H A DContinuationIndenter.cpp1545 if (Previous && Previous->endsSequence(tok::l_paren, tok::kw__Generic)) in moveStatePastFakeLParens()