Lines Matching refs:tok
86 bool Sema::isSimpleTypeSpecifier(tok::TokenKind Kind) const {
90 case tok::kw_short:
91 case tok::kw_long:
92 case tok::kw___int64:
93 case tok::kw___int128:
94 case tok::kw_signed:
95 case tok::kw_unsigned:
96 case tok::kw_void:
97 case tok::kw_char:
98 case tok::kw_int:
99 case tok::kw_half:
100 case tok::kw_float:
101 case tok::kw_double:
102 case tok::kw_wchar_t:
103 case tok::kw_bool:
104 case tok::kw___underlying_type:
107 case tok::annot_typename:
108 case tok::kw_char16_t:
109 case tok::kw_char32_t:
110 case tok::kw_typeof:
111 case tok::kw_decltype:
504 NextToken.is(tok::less);
596 if (NextToken.is(tok::coloncolon)) {
623 if (!SS.isSet() && NextToken.is(tok::l_paren)) {
671 if (getLangOpts().CPlusPlus && NextToken.is(tok::less) &&
755 if (getLangOpts().CPlusPlus && NextToken.is(tok::less) &&
779 if (getLangOpts().CPlusPlus && NextToken.is(tok::less) &&
843 if (NextToken.is(tok::period)) {
862 bool NextIsOp = NextToken.is(tok::amp) || NextToken.is(tok::star);
863 if ((NextToken.is(tok::identifier) ||
878 bool ADL = UseArgumentDependentLookup(SS, Result, NextToken.is(tok::l_paren));
1339 tok::colon, Ctx.getSourceManager(), Ctx.getLangOpts(), true);
10558 TranslateIvarVisibility(tok::ObjCKeywordKind ivarVisibility) {
10561 case tok::objc_private: return ObjCIvarDecl::Private;
10562 case tok::objc_public: return ObjCIvarDecl::Public;
10563 case tok::objc_protected: return ObjCIvarDecl::Protected;
10564 case tok::objc_package: return ObjCIvarDecl::Package;
10573 tok::ObjCKeywordKind Visibility) {
10610 Visibility != tok::objc_not_keyword ? TranslateIvarVisibility(Visibility)