Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Format/
H A DTokenAnnotator.cpp93 const FormatToken *AttrTok = Tok.Next->Next; in isCppAttribute() local
94 if (!AttrTok) in isCppAttribute()
98 if (AttrTok->startsSequence(tok::kw_using, tok::identifier, tok::colon)) in isCppAttribute()
100 if (AttrTok->isNot(tok::identifier)) in isCppAttribute()
102 while (AttrTok && !AttrTok->startsSequence(tok::r_square, tok::r_square)) { in isCppAttribute()
106 if (AttrTok->is(tok::colon) || in isCppAttribute()
107 AttrTok->startsSequence(tok::identifier, tok::identifier) || in isCppAttribute()
108 AttrTok->startsSequence(tok::r_paren, tok::identifier)) { in isCppAttribute()
111 if (AttrTok->is(tok::ellipsis)) in isCppAttribute()
113 AttrTok = AttrTok->Next; in isCppAttribute()
[all …]