Lines Matching refs:isOneOf
44 return T.isOneOf(tok::l_paren, tok::l_brace, tok::l_square, tok::comma, in isSurroundedLeft()
50 return T.isOneOf(tok::r_paren, tok::r_brace, tok::r_square, tok::comma, in isSurroundedRight()
57 return T.isOneOf(tok::kw_if, tok::kw_case, tok::kw_const, tok::kw_struct); in isKeyword()
64 return T.isOneOf(tok::plus, tok::minus, tok::star, tok::slash, tok::percent, in isWarnOp()
70 return T.isOneOf(tok::kw_bool, tok::kw_char, tok::kw_short, tok::kw_int, in isVarDeclKeyword()
87 if (!Tok->isOneOf(tok::identifier, tok::raw_identifier, tok::coloncolon)) in possibleVarDecl()
92 Tok->isOneOf(tok::identifier, tok::raw_identifier, tok::coloncolon, in possibleVarDecl()
99 Tok->isOneOf(tok::equal, tok::semi, tok::l_square, tok::l_paren) || in possibleVarDecl()
121 if (Count == 0 && Tok.isOneOf(tok::comma, tok::semi)) in replacementList()
123 if (Tok.isOneOf(tok::l_paren, tok::l_brace, tok::l_square)) { in replacementList()
125 } else if (Tok.isOneOf(tok::r_paren, tok::r_brace, tok::r_square)) { in replacementList()
135 !Tok.isOneOf(tok::plus, tok::minus)) in replacementList()
177 if (Tok.isOneOf(tok::equal, tok::semi, tok::l_square, tok::l_paren)) in argument()
183 if (!Tok.isOneOf(tok::identifier, tok::raw_identifier)) in argument()
195 if (Prev.isOneOf(tok::hash, tok::hashhash) || Next.is(tok::hashhash)) in argument()
199 if (Prev.isOneOf(tok::period, tok::arrow, tok::coloncolon, tok::arrowstar, in argument()
226 if (Prev.isOneOf(tok::equal, tok::kw_return) && Next.is(tok::semi)) in argument()
230 if (PP->getLangOpts().CPlusPlus && Prev.isOneOf(tok::comma, tok::less) && in argument()
231 Next.isOneOf(tok::comma, tok::greater)) in argument()