Home
last modified time | relevance | path

Searched refs:isObjCAtKeyword (Results 1 – 10 of 10) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseObjc.cpp238 assert(Tok.isObjCAtKeyword(tok::objc_interface) && in ParseObjCAtInterfaceDeclaration()
836 if (Tok.isObjCAtKeyword(tok::objc_end)) { in ParseObjCInterfaceDeclList()
2066 assert(Tok.isObjCAtKeyword(tok::objc_protocol) && in ParseObjCAtProtocolDeclaration()
2162 assert(Tok.isObjCAtKeyword(tok::objc_implementation) && in ParseObjCAtImplementationDeclaration()
2294 assert(Tok.isObjCAtKeyword(tok::objc_end) && in ParseObjCAtEndDeclaration()
2348 assert(Tok.isObjCAtKeyword(tok::objc_compatibility_alias) && in ParseObjCAtAliasDeclaration()
2376 assert(Tok.isObjCAtKeyword(tok::objc_synthesize) && in ParseObjCPropertySynthesize()
2431 assert(Tok.isObjCAtKeyword(tok::objc_dynamic) && in ParseObjCPropertyDynamic()
2592 if (!AfterAt.isObjCAtKeyword(tok::objc_catch) && in ParseObjCTryStmt()
2593 !AfterAt.isObjCAtKeyword(tok::objc_finally)) in ParseObjCTryStmt()
[all …]
H A DParser.cpp1211 if (!Tok.isObjCAtKeyword(tok::objc_interface) && in ParseDeclOrFunctionDefInternal()
1212 !Tok.isObjCAtKeyword(tok::objc_protocol) && in ParseDeclOrFunctionDefInternal()
1213 !Tok.isObjCAtKeyword(tok::objc_implementation)) { in ParseDeclOrFunctionDefInternal()
1228 if (Tok.isObjCAtKeyword(tok::objc_protocol)) in ParseDeclOrFunctionDefInternal()
1231 if (Tok.isObjCAtKeyword(tok::objc_implementation)) in ParseDeclOrFunctionDefInternal()
2566 : Tok.isObjCAtKeyword(tok::objc_import)) && in ParseModuleImport()
2568 bool IsObjCAtImport = Tok.isObjCAtKeyword(tok::objc_import); in ParseModuleImport()
H A DParseExpr.cpp3970 Tok.isObjCAtKeyword(tok::objc_available)); in ParseAvailabilityCheckExpr()
H A DParseDecl.cpp2259 if (NextToken().isObjCAtKeyword(tok::objc_end) && in SkipMalformedDecl()
5153 if (!Tok.isObjCAtKeyword(tok::objc_defs)) { in ParseStructUnionBody()
H A DParseDeclCXX.cpp2857 if (getLangOpts().ObjC && NextToken().isObjCAtKeyword(tok::objc_defs)) in ParseCXXClassMemberDeclaration()
/freebsd/contrib/llvm-project/clang/lib/Format/
H A DFormatToken.h668 bool isObjCAtKeyword(tok::ObjCKeywordKind Kind) const { in isObjCAtKeyword() function
669 return Tok.isObjCAtKeyword(Kind); in isObjCAtKeyword()
698 (Next->isObjCAtKeyword(tok::objc_public) || in isObjCAccessSpecifier()
699 Next->isObjCAtKeyword(tok::objc_protected) || in isObjCAccessSpecifier()
700 Next->isObjCAtKeyword(tok::objc_package) || in isObjCAccessSpecifier()
701 Next->isObjCAtKeyword(tok::objc_private)); in isObjCAccessSpecifier()
H A DUnwrappedLineParser.cpp3048 (FormatTok->isObjCAtKeyword(tok::objc_catch) || in parseTryCatch()
3049 FormatTok->isObjCAtKeyword(tok::objc_finally)))) { in parseTryCatch()
4170 FormatTok->isObjCAtKeyword(tok::objc_end)) { in parseObjCProtocolList()
4179 if (FormatTok->isObjCAtKeyword(tok::objc_end)) { in parseObjCUntilAtEnd()
4252 FormatTok->isObjCAtKeyword(tok::objc_end)) { in parseObjCLightweightGenerics()
H A DTokenAnnotator.cpp331 if (MaybeSel->isObjCAtKeyword(tok::objc_selector) && in parseParens()
/freebsd/contrib/llvm-project/clang/include/clang/Lex/
H A DToken.h287 bool isObjCAtKeyword(tok::ObjCKeywordKind objcKey) const;
/freebsd/contrib/llvm-project/clang/lib/Lex/
H A DLexer.cpp61 bool Token::isObjCAtKeyword(tok::ObjCKeywordKind objcKey) const { in isObjCAtKeyword() function in Token