/external/clang/lib/Sema/ |
H A D | SemaDeclObjC.cpp | 437 explicit ObjCInterfaceValidatorCCC(ObjCInterfaceDecl *IDecl) argument 438 : CurrentIDecl(IDecl) {} 467 ObjCInterfaceDecl *IDecl, 484 nullptr, llvm::make_unique<ObjCInterfaceValidatorCCC>(IDecl), 492 if (declaresSameEntity(PrevDecl, IDecl)) { 495 IDecl->setEndOfDefinitionLoc(ClassLoc); 514 if (NamedDecl *IDecl = T->getAs<ObjCObjectType>()->getInterface()) { 515 SuperClassDecl = dyn_cast<ObjCInterfaceDecl>(IDecl); 585 IDecl->setSuperClass(SuperClassTInfo); 586 IDecl 465 ActOnSuperClassOfClassInterface(Scope *S, SourceLocation AtInterfaceLoc, ObjCInterfaceDecl *IDecl, IdentifierInfo *ClassName, SourceLocation ClassLoc, IdentifierInfo *SuperName, SourceLocation SuperLoc, ArrayRef<ParsedType> SuperTypeArgs, SourceRange SuperTypeArgsRange) argument 980 ObjCInterfaceDecl *IDecl local 1722 ObjCInterfaceDecl *IDecl = getObjCInterfaceDecl(ClassName, ClassLoc, true); local 1808 ObjCInterfaceDecl *IDecl = getObjCInterfaceDecl(ClassName, ClassLoc, true); local 1876 ObjCInterfaceDecl *IDecl = nullptr; local 2022 ObjCInterfaceDecl* IDecl = ImpDecl->getClassInterface(); local 2598 ObjCInterfaceDecl *IDecl = C ? C->getClassInterface() local 3028 ObjCInterfaceDecl *IDecl local 4699 const ObjCInterfaceDecl *IDecl = Method->getClassInterface(); local [all...] |
H A D | SemaObjCProperty.cpp | 594 ObjCInterfaceDecl *IDecl = ObjPtrTy->getObjectType()->getInterface(); local 595 if (IDecl) 598 if (IDecl->ClassImplementsProtocol(PNSCopying, true)) 916 ObjCInterfaceDecl *IDecl = nullptr; local 922 IDecl = IC->getClassInterface(); 924 // without an interface decl. So, IDecl is always non-zero. 925 assert(IDecl && 929 property = IDecl->FindPropertyDeclaration(PropertyId, QueryKind); 931 Diag(PropertyLoc, diag::error_bad_property_decl) << IDecl->getDeclName(); 963 for (auto *Ext : IDecl 1646 SuperClassImplementsProperty(ObjCInterfaceDecl *IDecl, ObjCPropertyDecl *Prop) argument 1669 DefaultSynthesizeProperties(Scope *S, ObjCImplDecl* IMPDecl, ObjCInterfaceDecl *IDecl) argument 1810 ObjCInterfaceDecl *IDecl = dyn_cast<ObjCInterfaceDecl>(CDecl); local 1942 AtomicPropertySetterGetterRules(ObjCImplDecl* IMPDecl, ObjCInterfaceDecl* IDecl) argument [all...] |
H A D | SemaExprMember.cpp | 1362 ObjCInterfaceDecl *IDecl = OTy->getInterface(); local 1363 if (!IDecl) { 1385 ObjCIvarDecl *IV = IDecl->lookupInstanceVariable(Member, ClassDeclared); 1393 std::move(Validator), Sema::CTK_ErrorRecovery, IDecl)) { 1398 << IDecl->getDeclName() << MemberName); 1408 IDecl->FindPropertyDeclaration( 1417 << IDecl->getDeclName() << MemberName 1455 if (!declaresSameEntity(ClassDeclared, IDecl) || 1459 } else if (!IDecl->isSuperClassOf(ClassOfMethodDecl)) 1483 !S.IvarBacksCurrentMethodAccessor(IDecl, M [all...] |
H A D | SemaDecl.cpp | 451 } else if (ObjCInterfaceDecl *IDecl = dyn_cast<ObjCInterfaceDecl>(IIDecl)) { 452 (void)DiagnoseUseOfDecl(IDecl, NameLoc); 454 T = Context.getObjCInterfaceType(IDecl); 1692 NamedDecl *IDecl = LookupSingleName(TUScope, Id, IdLoc, LookupOrdinaryName); local 1694 if (!IDecl && DoTypoCorrection) { 1702 IDecl = C.getCorrectionDeclAs<ObjCInterfaceDecl>(); 1703 Id = IDecl->getIdentifier(); 1706 ObjCInterfaceDecl *Def = dyn_cast_or_null<ObjCInterfaceDecl>(IDecl); 13128 Decl *Sema::ActOnObjCContainerStartDefinition(Decl *IDecl) { argument 13129 assert(isa<ObjCContainerDecl>(IDecl) 14232 ObjCInterfaceDecl *IDecl = CDecl->getClassInterface(); local [all...] |
H A D | SemaCodeComplete.cpp | 7050 Decl *IDecl = nullptr; local 7053 IDecl = cast<Decl>(OCD); 7058 if (Decl *D = IDecl) {
|
H A D | SemaExpr.cpp | 128 if (ObjCInterfaceDecl *IDecl = dyn_cast<ObjCInterfaceDecl>(D)) { 129 if (IDecl->getDefinition()) { 130 D = IDecl->getDefinition(); 591 if (ObjCInterfaceDecl *IDecl = OTy->getInterface()) { 593 ObjCIvarDecl *IV = IDecl->lookupInstanceVariable(Member, ClassDeclared);
|
/external/clang/lib/StaticAnalyzer/Core/ |
H A D | CallEvent.cpp | 839 bool ObjCMethodCall::canBeOverridenInSubclass(ObjCInterfaceDecl *IDecl, argument 841 assert(IDecl); 849 SourceLocation InterfLoc = IDecl->getEndOfDefinitionLoc(); 865 D = IDecl->lookupMethod(Sel, true); 877 IDecl = D->getClassInterface(); 878 if (!IDecl) 881 IDecl = IDecl->getSuperClass(); 882 if (!IDecl) 922 if (ObjCInterfaceDecl *IDecl [all...] |
/external/clang/lib/ARCMigrate/ |
H A D | ObjCMT.cpp | 434 ObjCInterfaceDecl *IDecl = ObjPtrTy->getObjectType()->getInterface(); local 435 if (IDecl && 436 IDecl->lookupNestedProtocol(&Context.Idents.get("NSCopying"))) 601 const ObjCInterfaceDecl *IDecl, 612 DeclContext::lookup_result R = IDecl->lookup(Property->getDeclName()); 662 static bool rewriteToObjCInterfaceDecl(const ObjCInterfaceDecl *IDecl, argument 665 const ObjCList<ObjCProtocolDecl> &Protocols = IDecl->getReferencedProtocols(); 668 IDecl->getSuperClass() ? IDecl->getSuperClassLoc() : IDecl 599 ClassImplementsAllMethodsAndProperties(ASTContext &Ctx, const ObjCImplementationDecl *ImpDecl, const ObjCInterfaceDecl *IDecl, ObjCProtocolDecl *Protocol) argument 843 const ObjCInterfaceDecl *IDecl = ImpDecl->getClassInterface(); local 990 ObjCInterfaceDecl *IDecl = OM->getClassInterface(); local [all...] |
H A D | TransAutoreleasePool.cpp | 389 bool isNSAutoreleasePool(ObjCInterfaceDecl *IDecl) { argument 390 return IDecl && IDecl->getIdentifier() == PoolII;
|
/external/clang/lib/Analysis/ |
H A D | CallGraph.cpp | 69 if (ObjCInterfaceDecl *IDecl = ME->getReceiverInterface()) { 75 D = IDecl->lookupPrivateMethod(Sel); 77 D = IDecl->lookupPrivateClassMethod(Sel);
|
/external/clang/lib/AST/ |
H A D | DeclObjC.cpp | 167 if (auto *IDecl = dyn_cast<ObjCInterfaceDecl>(DC)) { 168 for (const auto *Ext : IDecl->known_extensions()) 1630 /// has been implemented in IDecl class, its super class or categories (if 1638 ObjCInterfaceDecl *IDecl = this; 1640 for (auto *PI : IDecl->protocols()){ 1663 if (IDecl->getSuperClass()) 1665 IDecl->getSuperClass()->ClassImplementsProtocol(lProto, lookupCategory, 1909 IdentifierInfo *Id, ObjCInterfaceDecl *IDecl, 1914 ClassInterface(IDecl), TypeParamList(nullptr), 1926 ObjCInterfaceDecl *IDecl, 1906 ObjCCategoryDecl(DeclContext *DC, SourceLocation AtLoc, SourceLocation ClassNameLoc, SourceLocation CategoryNameLoc, IdentifierInfo *Id, ObjCInterfaceDecl *IDecl, ObjCTypeParamList *typeParamList, SourceLocation IvarLBraceLoc, SourceLocation IvarRBraceLoc) argument 1921 Create(ASTContext &C, DeclContext *DC, SourceLocation AtLoc, SourceLocation ClassNameLoc, SourceLocation CategoryNameLoc, IdentifierInfo *Id, ObjCInterfaceDecl *IDecl, ObjCTypeParamList *typeParamList, SourceLocation IvarLBraceLoc, SourceLocation IvarRBraceLoc) argument [all...] |
H A D | ASTContext.cpp | 1962 ObjCInterfaceDecl *IDecl = const_cast<ObjCInterfaceDecl *>(OI); local 1963 for (const ObjCIvarDecl *Iv = IDecl->all_declared_ivar_begin(); Iv; 3821 /// QT's qualified-id protocol list adopt all protocols in IDecl's list 3824 ObjCInterfaceDecl *IDecl) { 3830 if (!IDecl->hasDefinition()) 3833 CollectInheritedProtocols(IDecl, InheritedProtocols); 3837 // of IDecl's, then bridge casting is ok. 3823 QIdProtocolsAdoptObjCObjectProtocols(QualType QT, ObjCInterfaceDecl *IDecl) argument
|
/external/clang/lib/Frontend/Rewrite/ |
H A D | RewriteObjC.cpp | 272 void RewriteObjCMethodDecl(const ObjCInterfaceDecl *IDecl, 339 virtual void RewriteObjCClassMetaData(ObjCImplementationDecl *IDecl, 532 void RewriteObjCClassMetaData(ObjCImplementationDecl *IDecl, 1059 void RewriteObjC::RewriteObjCMethodDecl(const ObjCInterfaceDecl *IDecl, argument 1076 NameStr += IDecl->getNameAsString(); 1102 QualType selfTy = Context->getObjCInterfaceType(IDecl); 1105 if (ObjCSynthesizedStructs.count(const_cast<ObjCInterfaceDecl*>(IDecl))) 1109 ResultStr += IDecl->getNameAsString(); 1857 ObjCInterfaceDecl *IDecl = Ptr->getObjectType()->getInterface(); local 1858 if (IDecl) { 5268 RewriteObjCClassMetaData(ObjCImplementationDecl *IDecl, std::string &Result) argument 5621 RewriteObjCCategoryImplDecl(ObjCCategoryImplDecl *IDecl, std::string &Result) argument [all...] |
H A D | RewriteModernObjC.cpp | 324 void RewriteObjCMethodDecl(const ObjCInterfaceDecl *IDecl, 398 bool IsTagDefinedInsideClass(ObjCContainerDecl *IDecl, TagDecl *Tag, 449 void RewriteObjCClassMetaData(ObjCImplementationDecl *IDecl, 827 static void WriteInternalIvarName(const ObjCInterfaceDecl *IDecl, argument 830 Result += IDecl->getName(); 1227 void RewriteModernObjC::RewriteObjCMethodDecl(const ObjCInterfaceDecl *IDecl, argument 1244 NameStr += IDecl->getNameAsString(); 1270 QualType selfTy = Context->getObjCInterfaceType(IDecl); 1273 if (ObjCSynthesizedStructs.count(const_cast<ObjCInterfaceDecl*>(IDecl))) 1277 ResultStr += IDecl 1963 ObjCInterfaceDecl *IDecl = Ptr->getObjectType()->getInterface(); local 3609 IsTagDefinedInsideClass(ObjCContainerDecl *IDecl, TagDecl *Tag, bool &IsNamedDefinition) argument 3739 ObjCContainerDecl *IDecl = local 3971 const ObjCInterfaceDecl *IDecl = IvarDecl->getContainingInterface(); local 7012 RewriteObjCClassMetaData(ObjCImplementationDecl *IDecl, std::string &Result) argument 7177 ObjCImplementationDecl *IDecl = ClassImplementation[i]; local 7274 RewriteObjCCategoryImplDecl(ObjCCategoryImplDecl *IDecl, std::string &Result) argument 7359 ObjCCategoryImplDecl *IDecl = CategoryImplementation[i]; local [all...] |
/external/clang/lib/StaticAnalyzer/Checkers/ |
H A D | IvarInvalidationChecker.cpp | 370 ObjCInterfaceDecl *IDecl = const_cast<ObjCInterfaceDecl *>(InterfaceD); local 371 for (const ObjCIvarDecl *Iv = IDecl->all_declared_ivar_begin(); Iv;
|
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
H A D | CallEvent.h | 900 virtual bool canBeOverridenInSubclass(ObjCInterfaceDecl *IDecl,
|
/external/clang/include/clang/AST/ |
H A D | DeclObjC.h | 1799 /// has been implemented in IDecl class, its super class or categories (if 2196 IdentifierInfo *Id, ObjCInterfaceDecl *IDecl, 2208 ObjCInterfaceDecl *IDecl,
|
H A D | ASTContext.h | 1292 /// QT's qualified-id protocol list adopt all protocols in IDecl's list 1295 ObjCInterfaceDecl *IDecl);
|
/external/clang/lib/CodeGen/ |
H A D | CGObjCGNU.cpp | 1147 const ObjCInterfaceDecl *IDecl = OPT->getObjectType()->getInterface(); local 1148 assert(IDecl && "Invalid @catch type."); 1149 return MakeConstantString(IDecl->getIdentifier()->getName());
|
H A D | CGObjCMac.cpp | 4234 ObjCInterfaceDecl *IDecl = ObjTy->getInterface(); local 4235 assert(IDecl && "Catch parameter must have Objective-C type!"); 4238 llvm::Value *Class = EmitClassRef(CGF, IDecl);
|
/external/clang/include/clang/Sema/ |
H A D | Sema.h | 2029 Decl *ActOnObjCContainerStartDefinition(Decl *IDecl); 3093 ObjCContainerDecl* IDecl, 3108 ObjCInterfaceDecl *IDecl); 3164 ObjCInterfaceDecl* IDecl); 3192 ObjCContainerDecl* IDecl, 7348 ObjCInterfaceDecl *IDecl,
|