Home
last modified time | relevance | path

Searched refs:startsSequence (Results 1 – 5 of 5) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Format/
H A DQualifierAlignmentFixer.cpp346 Next->startsSequence(tok::coloncolon, tok::identifier) || in analyzeRight()
347 Next->startsSequence(tok::coloncolon, tok::kw_template, in analyzeRight()
352 } else if (Next->startsSequence(tok::coloncolon, tok::identifier)) { in analyzeRight()
H A DTokenAnnotator.h122 return First && First->startsSequence(Tokens...); in startsWith()
H A DTokenAnnotator.cpp88 if (!IsCpp || !Tok.startsSequence(tok::l_square, tok::l_square)) in isCppAttribute()
98 if (AttrTok->startsSequence(tok::kw_using, tok::identifier, tok::colon)) in isCppAttribute()
102 while (AttrTok && !AttrTok->startsSequence(tok::r_square, tok::r_square)) { in isCppAttribute()
107 AttrTok->startsSequence(tok::identifier, tok::identifier) || in isCppAttribute()
108 AttrTok->startsSequence(tok::r_paren, tok::identifier)) { in isCppAttribute()
115 return AttrTok && AttrTok->startsSequence(tok::r_square, tok::r_square); in isCppAttribute()
661 AttrTok->Next->startsSequence(tok::identifier, tok::l_paren)) { in isCSharpAttributeSpecifier()
1362 Line.First->startsSequence(tok::kw_export, Keywords.kw_module) || in consumeToken()
1363 Line.First->startsSequence(tok::kw_export, Keywords.kw_import)) { in consumeToken()
1630 if (CurrentToken->startsSequence(tok::kw_decltype, tok::l_paren, in consumeToken()
[all …]
H A DContinuationIndenter.cpp425 Current.startsSequence(TT_SelectorName, tok::colon, tok::caret)) { in mustBreak()
488 !Current.startsSequence(TT_SelectorName, tok::colon, tok::caret))) { in mustBreak()
875 if (Tok.is(tok::kw_new) || Tok.startsSequence(tok::coloncolon, tok::kw_new)) in addTokenOnCurrentLine()
H A DFormatToken.h664 bool startsSequence(A K1, Ts... Tokens) const { in startsSequence() function