Home
last modified time | relevance | path

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

/external/clang/lib/Format/
DFormatToken.h316 bool isObjCAtKeyword(tok::ObjCKeywordKind Kind) const { in isObjCAtKeyword() function
317 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()
DUnwrappedLineParser.cpp1504 (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()
DTokenAnnotator.cpp129 if (MaybeSel->isObjCAtKeyword(tok::objc_selector) && MaybeSel->Previous && in parseParens()
/external/llvm-project/clang/lib/Format/
DFormatToken.h497 bool isObjCAtKeyword(tok::ObjCKeywordKind Kind) const { in isObjCAtKeyword() function
498 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()
DUnwrappedLineParser.cpp2078 (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()
DTokenAnnotator.cpp218 if (MaybeSel->isObjCAtKeyword(tok::objc_selector) && MaybeSel->Previous && in parseParens()
/external/llvm-project/clang/lib/Parse/
DParseObjc.cpp215 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 …]
DParser.cpp1098 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()
DParseExpr.cpp3628 Tok.isObjCAtKeyword(tok::objc_available)); in ParseAvailabilityCheckExpr()
DParseDecl.cpp1878 if (NextToken().isObjCAtKeyword(tok::objc_end) && in SkipMalformedDecl()
4265 if (!Tok.isObjCAtKeyword(tok::objc_defs)) { in ParseStructUnionBody()
DParseDeclCXX.cpp2489 if (getLangOpts().ObjC && NextToken().isObjCAtKeyword(tok::objc_defs)) in ParseCXXClassMemberDeclaration()
/external/clang/lib/Parse/
DParseObjc.cpp218 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 …]
DParser.cpp908 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()
DParseDecl.cpp1700 if (NextToken().isObjCAtKeyword(tok::objc_end) && in SkipMalformedDecl()
3730 if (!Tok.isObjCAtKeyword(tok::objc_defs)) { in ParseStructUnionBody()
DParseDeclCXX.cpp2264 if (getLangOpts().ObjC1 && NextToken().isObjCAtKeyword(tok::objc_defs)) in ParseCXXClassMemberDeclaration()
/external/llvm-project/clang/include/clang/Lex/
DToken.h279 bool isObjCAtKeyword(tok::ObjCKeywordKind objcKey) const;
/external/clang/include/clang/Lex/
DToken.h276 bool isObjCAtKeyword(tok::ObjCKeywordKind objcKey) const;
/external/clang/lib/Lex/
DLexer.cpp36 bool Token::isObjCAtKeyword(tok::ObjCKeywordKind objcKey) const { in isObjCAtKeyword() function in Token
/external/llvm-project/clang/lib/Lex/
DLexer.cpp57 bool Token::isObjCAtKeyword(tok::ObjCKeywordKind objcKey) const { in isObjCAtKeyword() function in Token