Lines Matching refs:isOneOf
455 template <typename A, typename B> bool isOneOf(A K1, B K2) const { in isOneOf() function
459 bool isOneOf(A K1, B K2, Ts... Ks) const { in isOneOf() function
460 return is(K1) || isOneOf(K2, Ks...); in isOneOf()
502 return isOneOf(tok::kw_public, tok::kw_protected, tok::kw_private) &&
507 return isOneOf(tok::kw_const, tok::kw_restrict, tok::kw_volatile, in canBePointerOrReferenceQualifier()
531 return isOneOf(tok::l_paren, tok::l_brace, tok::l_square, in opensScope()
541 return isOneOf(tok::r_paren, tok::r_brace, tok::r_square, in closesScope()
547 return isOneOf(tok::arrow, tok::period, tok::arrowstar) && in isMemberAccess()
548 !isOneOf(TT_DesignatedInitializerPeriod, TT_TrailingReturnArrow, in isMemberAccess()
670 } while (T && T->isOneOf(tok::kw_const, tok::kw_volatile, tok::amp, in isCppStructuredBinding()
689 if (NamespaceTok && NamespaceTok->isOneOf(tok::kw_inline, tok::kw_export)) in getNamespaceToken()
692 NamespaceTok->isOneOf(tok::kw_namespace, TT_NamespaceMacro) in getNamespaceToken()