Searched refs:Next2 (Results 1 – 1 of 1) sorted by relevance
436 const Token &Next2 = GetLookAheadToken(2); in ParseOptionalCXXScopeSpecifier() local437 if (Next2.is(tok::kw_private) || Next2.is(tok::kw_protected) || in ParseOptionalCXXScopeSpecifier()438 Next2.is(tok::kw_public) || Next2.is(tok::kw_virtual)) { in ParseOptionalCXXScopeSpecifier()439 Diag(Next2, diag::err_unexpected_token_in_nested_name_spec) in ParseOptionalCXXScopeSpecifier()440 << Next2.getName() in ParseOptionalCXXScopeSpecifier()