Searched refs:endsSequence (Results 1 – 6 of 6) sorted by relevance
| /freebsd/contrib/llvm-project/clang/lib/Format/ |
| H A D | TokenAnnotator.cpp | 369 (OpeningParen.Previous->endsSequence(tok::identifier, in parseParens() 766 if (!Left->endsSequence(tok::l_square, tok::numeric_constant, in parseSquare() 768 !Left->endsSequence(tok::l_square, tok::numeric_constant, in parseSquare() 770 !Left->endsSequence(tok::l_square, tok::colon, TT_SelectorName)) { in parseSquare() 863 CurrentToken->endsSequence(tok::colon, tok::identifier, in parseSquare() 2588 if (Tok.endsSequence(Keywords.kw_final, TT_ClassHeadName)) in isStartOfName() 3052 if (PrevToken->endsSequence(tok::r_square, tok::l_square, tok::kw_delete)) in determineStarAmpUsage() 3264 (Prev == Start || Prev->endsSequence(tok::string_literal, tok::plus, in parse() 3702 if (!Prev || !Prev->endsSequence(tok::coloncolon, tok::identifier)) in isCtorOrDtorName() 4135 Current->endsSequence(TT_AttributeMacro, in calculateFormattingInformation() [all …]
|
| H A D | TokenAnnotator.h | 130 return Last && Last->endsSequence(Tokens...); in endsWith()
|
| H A D | FormatToken.h | 649 return is(tok::kw_if) || endsSequence(tok::kw_constexpr, tok::kw_if) || 650 (endsSequence(tok::identifier, tok::kw_if) && AllowConstexprMacro); 675 bool endsSequence(A K1, Ts... Tokens) const { in endsSequence() function 1847 return !Tok.endsSequence(kw_join, kw_rand) && in isVerilogEnd() 1859 if (Tok.endsSequence(kw_function, kw_with)) in isVerilogHierarchy()
|
| H A D | QualifierAlignmentFixer.cpp | 471 if (Tok->endsSequence(tok::kw_auto, tok::identifier)) in analyzeLeft()
|
| H A D | UnwrappedLineParser.cpp | 1841 FormatTok->Previous->endsSequence(tok::r_paren, tok::kw_auto, in parseStructuralElement() 2623 PrevPrev->endsSequence(tok::kw_constexpr, tok::kw_if)))); in parseParens() 2632 !Prev->endsSequence(tok::comma, tok::ellipsis) && in parseParens()
|
| H A D | ContinuationIndenter.cpp | 1492 !Current.endsSequence(TT_StartOfName, TT_AttributeMacro, in getNewLineColumn() 1845 if (Previous && Previous->endsSequence(tok::l_paren, tok::kw__Generic) && in moveStatePastFakeLParens()
|