Lines Matching refs:ConsumeToken
71 bool CPlusPlusNameParser::ConsumeToken(tok::TokenKind kind) { in ConsumeToken() function in CPlusPlusNameParser
82 template <typename... Ts> bool CPlusPlusNameParser::ConsumeToken(Ts... kinds) { in ConsumeToken() function in CPlusPlusNameParser
145 if (!ConsumeToken(tok::l_paren)) in ParseFuncPtr()
154 if (ConsumeToken(tok::r_paren)) in ParseFuncPtr()
165 if (ConsumeToken(tok::r_paren)) in ParseFuncPtr()
253 if (!ConsumeToken(tok::l_paren)) { in ConsumeAnonymousNamespace()
264 if (!ConsumeToken(tok::kw_namespace)) { in ConsumeAnonymousNamespace()
268 if (!ConsumeToken(tok::r_paren)) { in ConsumeAnonymousNamespace()
277 if (!ConsumeToken(tok::l_brace)) { in ConsumeLambda()
324 if (!ConsumeToken(tok::kw_operator)) in ConsumeOperator()
409 while (ConsumeToken(tok::kw_const, tok::kw_volatile)) in SkipTypeQualifiers()
414 while (ConsumeToken(tok::kw_const, tok::kw_volatile, tok::amp, tok::ampamp)) in SkipFunctionQualifiers()
462 while (ConsumeToken(tok::star, tok::amp, tok::ampamp, tok::kw_const, in ConsumePtrsAndRefs()
472 if (!ConsumeToken(tok::kw_decltype)) in ConsumeDecltype()
546 if (!ConsumeToken(tok::coloncolon)) { in ParseFullNameImpl()
602 if (ConsumeToken(tok::raw_identifier)) { in ParseFullNameImpl()