Lines Matching refs:AttrTok
93 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()
115 return AttrTok && AttrTok->startsSequence(tok::r_square, tok::r_square); in isCppAttribute()
636 const FormatToken *AttrTok = Tok.Next; in isCSharpAttributeSpecifier() local
637 if (!AttrTok) in isCSharpAttributeSpecifier()
641 if (AttrTok->is(tok::r_square)) in isCSharpAttributeSpecifier()
645 while (AttrTok && AttrTok->isNot(tok::r_square)) in isCSharpAttributeSpecifier()
646 AttrTok = AttrTok->Next; in isCSharpAttributeSpecifier()
648 if (!AttrTok) in isCSharpAttributeSpecifier()
652 AttrTok = AttrTok->Next; in isCSharpAttributeSpecifier()
653 if (!AttrTok) in isCSharpAttributeSpecifier()
657 if (AttrTok->isAccessSpecifierKeyword() || in isCSharpAttributeSpecifier()
658 AttrTok->isOneOf(tok::comment, tok::kw_class, tok::kw_static, in isCSharpAttributeSpecifier()
664 if (AttrTok->Next && in isCSharpAttributeSpecifier()
665 AttrTok->Next->startsSequence(tok::identifier, tok::l_paren)) { in isCSharpAttributeSpecifier()