Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/clang/lib/Format/
H A DFormatToken.h607 return is(tok::kw_if) || endsSequence(tok::kw_constexpr, tok::kw_if) ||
608 (endsSequence(tok::identifier, tok::kw_if) && AllowConstexprMacro);
633 bool endsSequence(A K1, Ts... Tokens) const { in endsSequence() function
1806 return !Tok.endsSequence(kw_fork, kw_disable) && in isVerilogBegin()
1812 return !Tok.endsSequence(kw_join, kw_rand) && in isVerilogEnd()
1824 if (Tok.endsSequence(kw_function, kw_with)) in isVerilogHierarchy()
H A DTokenAnnotator.h127 return Last && Last->endsSequence(Tokens...); in endsWith()
H A DTokenAnnotator.cpp351 (OpeningParen.Previous->endsSequence(tok::identifier, in parseParens()
712 if (!Left->endsSequence(tok::l_square, tok::numeric_constant, in parseSquare()
714 !Left->endsSequence(tok::l_square, tok::numeric_constant, in parseSquare()
813 CurrentToken->endsSequence(tok::colon, tok::identifier, in parseSquare()
4189 if (Previous->endsSequence(tok::kw_operator)) in spaceRequiredBetween()
4205 LSquareTok.endsSequence(tok::l_square, tok::colon, in spaceRequiredBetween()
4383 Right.MatchingParen->endsSequence(TT_DictLiteral, tok::at)) { in spaceRequiredBetween()
4621 if (Left.endsSequence(tok::kw_const, Keywords.kw_as)) in spaceRequiredBefore()
4712 Left.endsSequence(tok::numeric_constant, in spaceRequiredBefore()
4769 (Left.endsSequence(tok::lessless, tok::l_brace) || in spaceRequiredBefore()
[all …]
H A DQualifierAlignmentFixer.cpp452 if (Tok->endsSequence(tok::kw_auto, tok::identifier)) in analyzeLeft()
H A DUnwrappedLineParser.cpp1817 if (FormatTok->Previous->endsSequence(tok::r_paren, tok::kw_auto, in parseStructuralElement()
2537 PrevPrev->endsSequence(tok::kw_constexpr, tok::kw_if)))); in parseParens()
H A DContinuationIndenter.cpp1703 if (Previous && Previous->endsSequence(tok::l_paren, tok::kw__Generic)) in moveStatePastFakeLParens()