Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Format/
H A DFormatToken.h632 return is(tok::kw_if) || endsSequence(tok::kw_constexpr, tok::kw_if) ||
633 (endsSequence(tok::identifier, tok::kw_if) && AllowConstexprMacro);
658 bool endsSequence(A K1, Ts... Tokens) const { in endsSequence() function
1858 return !Tok.endsSequence(kw_fork, kw_disable) && in isVerilogBegin()
1864 return !Tok.endsSequence(kw_join, kw_rand) && in isVerilogEnd()
1876 if (Tok.endsSequence(kw_function, kw_with)) in isVerilogHierarchy()
H A DTokenAnnotator.h128 return Last && Last->endsSequence(Tokens...); in endsWith()
H A DTokenAnnotator.cpp372 (OpeningParen.Previous->endsSequence(tok::identifier, in parseParens()
770 if (!Left->endsSequence(tok::l_square, tok::numeric_constant, in parseSquare()
772 !Left->endsSequence(tok::l_square, tok::numeric_constant, in parseSquare()
774 !Left->endsSequence(tok::l_square, tok::colon, TT_SelectorName)) { in parseSquare()
872 CurrentToken->endsSequence(tok::colon, tok::identifier, in parseSquare()
3010 if (PrevToken->endsSequence(tok::r_square, tok::l_square, tok::kw_delete)) in determineStarAmpUsage()
3200 (Prev == Start || Prev->endsSequence(tok::string_literal, tok::plus, in parse()
3639 if (!Prev || !Prev->endsSequence(tok::coloncolon, tok::identifier)) in isCtorOrDtorName()
4635 if (Previous->endsSequence(tok::kw_operator)) in spaceRequiredBetween()
4651 LSquareTok.endsSequence(tok::l_square, tok::colon, in spaceRequiredBetween()
[all …]
H A DQualifierAlignmentFixer.cpp454 if (Tok->endsSequence(tok::kw_auto, tok::identifier)) in analyzeLeft()
H A DUnwrappedLineParser.cpp1835 if (FormatTok->Previous->endsSequence(tok::r_paren, tok::kw_auto, in parseStructuralElement()
2577 PrevPrev->endsSequence(tok::kw_constexpr, tok::kw_if)))); in parseParens()
H A DContinuationIndenter.cpp1729 if (Previous && Previous->endsSequence(tok::l_paren, tok::kw__Generic) && in moveStatePastFakeLParens()