Lines Matching defs:AttrTok
445 const FormatToken *AttrTok = Tok.Next;
446 if (!AttrTok)
450 if (AttrTok->is(tok::r_square))
454 while (AttrTok && AttrTok->isNot(tok::r_square)) {
455 AttrTok = AttrTok->Next;
458 if (!AttrTok)
462 AttrTok = AttrTok->Next;
463 if (!AttrTok)
467 if (AttrTok->isOneOf(tok::kw_public, tok::kw_private, tok::kw_protected,
474 if (AttrTok->Next &&
475 AttrTok->Next->startsSequence(tok::identifier, tok::l_paren))
488 const FormatToken *AttrTok = Tok.Next->Next;
489 if (!AttrTok)
493 if (AttrTok->startsSequence(tok::kw_using, tok::identifier, tok::colon))
495 if (AttrTok->isNot(tok::identifier))
497 while (AttrTok && !AttrTok->startsSequence(tok::r_square, tok::r_square)) {
501 if (AttrTok->is(tok::colon) ||
502 AttrTok->startsSequence(tok::identifier, tok::identifier) ||
503 AttrTok->startsSequence(tok::r_paren, tok::identifier))
505 if (AttrTok->is(tok::ellipsis))
507 AttrTok = AttrTok->Next;
509 return AttrTok && AttrTok->startsSequence(tok::r_square, tok::r_square);