Searched refs:isObjCAtKeyword (Results 1 – 19 of 19) sorted by relevance
316 bool isObjCAtKeyword(tok::ObjCKeywordKind Kind) const { in isObjCAtKeyword() function317 return Tok.isObjCAtKeyword(Kind); in isObjCAtKeyword()329 return is(tok::at) && Next && (Next->isObjCAtKeyword(tok::objc_public) || in isObjCAccessSpecifier()330 Next->isObjCAtKeyword(tok::objc_protected) || in isObjCAccessSpecifier()331 Next->isObjCAtKeyword(tok::objc_package) || in isObjCAccessSpecifier()332 Next->isObjCAtKeyword(tok::objc_private)); in isObjCAccessSpecifier()
1504 (FormatTok->Tok.isObjCAtKeyword(tok::objc_catch) || in parseTryCatch()1505 FormatTok->Tok.isObjCAtKeyword(tok::objc_finally)))) in parseTryCatch()1873 if (FormatTok->Tok.isObjCAtKeyword(tok::objc_end)) { in parseObjCUntilAtEnd()
129 if (MaybeSel->isObjCAtKeyword(tok::objc_selector) && MaybeSel->Previous && in parseParens()
497 bool isObjCAtKeyword(tok::ObjCKeywordKind Kind) const { in isObjCAtKeyword() function498 return Tok.isObjCAtKeyword(Kind); in isObjCAtKeyword()518 (Next->isObjCAtKeyword(tok::objc_public) || in isObjCAccessSpecifier()519 Next->isObjCAtKeyword(tok::objc_protected) || in isObjCAccessSpecifier()520 Next->isObjCAtKeyword(tok::objc_package) || in isObjCAccessSpecifier()521 Next->isObjCAtKeyword(tok::objc_private)); in isObjCAccessSpecifier()
2078 (FormatTok->Tok.isObjCAtKeyword(tok::objc_catch) || in parseTryCatch()2079 FormatTok->Tok.isObjCAtKeyword(tok::objc_finally)))) in parseTryCatch()2701 FormatTok->Tok.isObjCAtKeyword(tok::objc_end)) in parseObjCProtocolList()2709 if (FormatTok->Tok.isObjCAtKeyword(tok::objc_end)) { in parseObjCUntilAtEnd()2783 FormatTok->Tok.isObjCAtKeyword(tok::objc_end)) in parseObjCLightweightGenerics()
218 if (MaybeSel->isObjCAtKeyword(tok::objc_selector) && MaybeSel->Previous && in parseParens()
215 assert(Tok.isObjCAtKeyword(tok::objc_interface) && in ParseObjCAtInterfaceDeclaration()783 } else if (Tok.isObjCAtKeyword(tok::objc_end)) { in ParseObjCInterfaceDeclList()2019 assert(Tok.isObjCAtKeyword(tok::objc_protocol) && in ParseObjCAtProtocolDeclaration()2101 assert(Tok.isObjCAtKeyword(tok::objc_implementation) && in ParseObjCAtImplementationDeclaration()2229 assert(Tok.isObjCAtKeyword(tok::objc_end) && in ParseObjCAtEndDeclaration()2282 assert(Tok.isObjCAtKeyword(tok::objc_compatibility_alias) && in ParseObjCAtAliasDeclaration()2310 assert(Tok.isObjCAtKeyword(tok::objc_synthesize) && in ParseObjCPropertySynthesize()2364 assert(Tok.isObjCAtKeyword(tok::objc_dynamic) && in ParseObjCPropertyDynamic()2522 if (!AfterAt.isObjCAtKeyword(tok::objc_catch) && in ParseObjCTryStmt()2523 !AfterAt.isObjCAtKeyword(tok::objc_finally)) in ParseObjCTryStmt()[all …]
1098 if (!Tok.isObjCAtKeyword(tok::objc_interface) && in ParseDeclOrFunctionDefInternal()1099 !Tok.isObjCAtKeyword(tok::objc_protocol) && in ParseDeclOrFunctionDefInternal()1100 !Tok.isObjCAtKeyword(tok::objc_implementation)) { in ParseDeclOrFunctionDefInternal()1114 if (Tok.isObjCAtKeyword(tok::objc_protocol)) in ParseDeclOrFunctionDefInternal()1117 if (Tok.isObjCAtKeyword(tok::objc_implementation)) in ParseDeclOrFunctionDefInternal()2375 : Tok.isObjCAtKeyword(tok::objc_import)) && in ParseModuleImport()2377 bool IsObjCAtImport = Tok.isObjCAtKeyword(tok::objc_import); in ParseModuleImport()
3628 Tok.isObjCAtKeyword(tok::objc_available)); in ParseAvailabilityCheckExpr()
1878 if (NextToken().isObjCAtKeyword(tok::objc_end) && in SkipMalformedDecl()4265 if (!Tok.isObjCAtKeyword(tok::objc_defs)) { in ParseStructUnionBody()
2489 if (getLangOpts().ObjC && NextToken().isObjCAtKeyword(tok::objc_defs)) in ParseCXXClassMemberDeclaration()
218 assert(Tok.isObjCAtKeyword(tok::objc_interface) && in ParseObjCAtInterfaceDeclaration()798 } else if (Tok.isObjCAtKeyword(tok::objc_end)) { in ParseObjCInterfaceDeclList()2028 assert(Tok.isObjCAtKeyword(tok::objc_protocol) && in ParseObjCAtProtocolDeclaration()2117 assert(Tok.isObjCAtKeyword(tok::objc_implementation) && in ParseObjCAtImplementationDeclaration()2254 assert(Tok.isObjCAtKeyword(tok::objc_end) && in ParseObjCAtEndDeclaration()2307 assert(Tok.isObjCAtKeyword(tok::objc_compatibility_alias) && in ParseObjCAtAliasDeclaration()2339 assert(Tok.isObjCAtKeyword(tok::objc_synthesize) && in ParseObjCPropertySynthesize()2395 assert(Tok.isObjCAtKeyword(tok::objc_dynamic) && in ParseObjCPropertyDynamic()2554 if (!AfterAt.isObjCAtKeyword(tok::objc_catch) && in ParseObjCTryStmt()2555 !AfterAt.isObjCAtKeyword(tok::objc_finally)) in ParseObjCTryStmt()[all …]
908 if (!Tok.isObjCAtKeyword(tok::objc_interface) && in ParseDeclOrFunctionDefInternal()909 !Tok.isObjCAtKeyword(tok::objc_protocol)) { in ParseDeclOrFunctionDefInternal()923 if (Tok.isObjCAtKeyword(tok::objc_protocol)) in ParseDeclOrFunctionDefInternal()2000 assert(Tok.isObjCAtKeyword(tok::objc_import) && in ParseModuleImport()
1700 if (NextToken().isObjCAtKeyword(tok::objc_end) && in SkipMalformedDecl()3730 if (!Tok.isObjCAtKeyword(tok::objc_defs)) { in ParseStructUnionBody()
2264 if (getLangOpts().ObjC1 && NextToken().isObjCAtKeyword(tok::objc_defs)) in ParseCXXClassMemberDeclaration()
279 bool isObjCAtKeyword(tok::ObjCKeywordKind objcKey) const;
276 bool isObjCAtKeyword(tok::ObjCKeywordKind objcKey) const;
36 bool Token::isObjCAtKeyword(tok::ObjCKeywordKind objcKey) const { in isObjCAtKeyword() function in Token
57 bool Token::isObjCAtKeyword(tok::ObjCKeywordKind objcKey) const { in isObjCAtKeyword() function in Token