Searched refs:IDecl (Results 1 - 21 of 21) sorted by relevance

/external/clang/lib/Sema/
H A DSemaDeclObjC.cpp438 explicit ObjCInterfaceValidatorCCC(ObjCInterfaceDecl *IDecl) argument
439 : CurrentIDecl(IDecl) {}
468 ObjCInterfaceDecl *IDecl,
485 nullptr, llvm::make_unique<ObjCInterfaceValidatorCCC>(IDecl),
493 if (declaresSameEntity(PrevDecl, IDecl)) {
496 IDecl->setEndOfDefinitionLoc(ClassLoc);
515 if (NamedDecl *IDecl = T->getAs<ObjCObjectType>()->getInterface()) {
516 SuperClassDecl = dyn_cast<ObjCInterfaceDecl>(IDecl);
586 IDecl->setSuperClass(SuperClassTInfo);
587 IDecl
466 ActOnSuperClassOfClassInterface(Scope *S, SourceLocation AtInterfaceLoc, ObjCInterfaceDecl *IDecl, IdentifierInfo *ClassName, SourceLocation ClassLoc, IdentifierInfo *SuperName, SourceLocation SuperLoc, ArrayRef<ParsedType> SuperTypeArgs, SourceRange SuperTypeArgsRange) argument
981 ObjCInterfaceDecl *IDecl local
1714 ObjCInterfaceDecl *IDecl = getObjCInterfaceDecl(ClassName, ClassLoc, true); local
1800 ObjCInterfaceDecl *IDecl = getObjCInterfaceDecl(ClassName, ClassLoc, true); local
1861 ObjCInterfaceDecl *IDecl = nullptr; local
1997 ObjCInterfaceDecl* IDecl = ImpDecl->getClassInterface(); local
2573 ObjCInterfaceDecl *IDecl = C ? C->getClassInterface() local
3000 ObjCInterfaceDecl *IDecl local
4547 const ObjCInterfaceDecl *IDecl = Method->getClassInterface(); local
[all...]
H A DSemaObjCProperty.cpp590 ObjCInterfaceDecl *IDecl = ObjPtrTy->getObjectType()->getInterface(); local
591 if (IDecl)
594 if (IDecl->ClassImplementsProtocol(PNSCopying, true))
905 ObjCInterfaceDecl *IDecl = nullptr; local
911 IDecl = IC->getClassInterface();
913 // without an interface decl. So, IDecl is always non-zero.
914 assert(IDecl &&
918 property = IDecl->FindPropertyDeclaration(PropertyId);
920 Diag(PropertyLoc, diag::error_bad_property_decl) << IDecl->getDeclName();
948 for (auto *Ext : IDecl
1610 SuperClassImplementsProperty(ObjCInterfaceDecl *IDecl, ObjCPropertyDecl *Prop) argument
1633 DefaultSynthesizeProperties(Scope *S, ObjCImplDecl* IMPDecl, ObjCInterfaceDecl *IDecl) argument
1763 ObjCInterfaceDecl *IDecl = dyn_cast<ObjCInterfaceDecl>(CDecl); local
1890 AtomicPropertySetterGetterRules(ObjCImplDecl* IMPDecl, ObjCInterfaceDecl* IDecl) argument
[all...]
H A DSemaExprMember.cpp1299 ObjCInterfaceDecl *IDecl = OTy->getInterface(); local
1300 if (!IDecl) {
1322 ObjCIvarDecl *IV = IDecl->lookupInstanceVariable(Member, ClassDeclared);
1330 std::move(Validator), Sema::CTK_ErrorRecovery, IDecl)) {
1335 << IDecl->getDeclName() << MemberName);
1344 if (IsArrow && IDecl->FindPropertyDeclaration(Member)) {
1352 << IDecl->getDeclName() << MemberName
1390 if (!declaresSameEntity(ClassDeclared, IDecl) ||
1394 } else if (!IDecl->isSuperClassOf(ClassOfMethodDecl))
1418 !S.IvarBacksCurrentMethodAccessor(IDecl, M
[all...]
H A DSemaDecl.cpp443 } else if (ObjCInterfaceDecl *IDecl = dyn_cast<ObjCInterfaceDecl>(IIDecl)) {
444 (void)DiagnoseUseOfDecl(IDecl, NameLoc);
446 T = Context.getObjCInterfaceType(IDecl);
1640 NamedDecl *IDecl = LookupSingleName(TUScope, Id, IdLoc, LookupOrdinaryName); local
1642 if (!IDecl && DoTypoCorrection) {
1650 IDecl = C.getCorrectionDeclAs<ObjCInterfaceDecl>();
1651 Id = IDecl->getIdentifier();
1654 ObjCInterfaceDecl *Def = dyn_cast_or_null<ObjCInterfaceDecl>(IDecl);
12678 Decl *Sema::ActOnObjCContainerStartDefinition(Decl *IDecl) { argument
12679 assert(isa<ObjCContainerDecl>(IDecl)
13778 ObjCInterfaceDecl *IDecl = CDecl->getClassInterface(); local
[all...]
H A DSemaCodeComplete.cpp7030 Decl *IDecl = nullptr; local
7033 IDecl = cast<Decl>(OCD);
7038 if (Decl *D = IDecl) {
H A DSemaExpr.cpp124 if (ObjCInterfaceDecl *IDecl = dyn_cast<ObjCInterfaceDecl>(D)) {
125 if (IDecl->getDefinition()) {
126 D = IDecl->getDefinition();
579 if (ObjCInterfaceDecl *IDecl = OTy->getInterface()) {
581 ObjCIvarDecl *IV = IDecl->lookupInstanceVariable(Member, ClassDeclared);
/external/clang/lib/StaticAnalyzer/Core/
H A DCallEvent.cpp784 bool ObjCMethodCall::canBeOverridenInSubclass(ObjCInterfaceDecl *IDecl, argument
786 assert(IDecl);
794 SourceLocation InterfLoc = IDecl->getEndOfDefinitionLoc();
810 D = IDecl->lookupMethod(Sel, true);
822 IDecl = D->getClassInterface();
823 if (!IDecl)
826 IDecl = IDecl->getSuperClass();
827 if (!IDecl)
867 if (ObjCInterfaceDecl *IDecl
[all...]
/external/clang/lib/ARCMigrate/
H A DObjCMT.cpp434 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());
661 static bool rewriteToObjCInterfaceDecl(const ObjCInterfaceDecl *IDecl, argument
664 const ObjCList<ObjCProtocolDecl> &Protocols = IDecl->getReferencedProtocols();
667 IDecl->getSuperClass() ? IDecl->getSuperClassLoc() : IDecl
599 ClassImplementsAllMethodsAndProperties(ASTContext &Ctx, const ObjCImplementationDecl *ImpDecl, const ObjCInterfaceDecl *IDecl, ObjCProtocolDecl *Protocol) argument
842 const ObjCInterfaceDecl *IDecl = ImpDecl->getClassInterface(); local
989 ObjCInterfaceDecl *IDecl = OM->getClassInterface(); local
[all...]
H A DTransAutoreleasePool.cpp389 bool isNSAutoreleasePool(ObjCInterfaceDecl *IDecl) { argument
390 return IDecl && IDecl->getIdentifier() == PoolII;
/external/clang/lib/Analysis/
H A DCallGraph.cpp69 if (ObjCInterfaceDecl *IDecl = ME->getReceiverInterface()) {
75 D = IDecl->lookupPrivateMethod(Sel);
77 D = IDecl->lookupPrivateClassMethod(Sel);
/external/clang/lib/AST/
H A DDeclObjC.cpp166 if (auto *IDecl = dyn_cast<ObjCInterfaceDecl>(DC)) {
167 for (const auto *Ext : IDecl->known_extensions())
1596 /// has been implemented in IDecl class, its super class or categories (if
1604 ObjCInterfaceDecl *IDecl = this;
1606 for (auto *PI : IDecl->protocols()){
1629 if (IDecl->getSuperClass())
1631 IDecl->getSuperClass()->ClassImplementsProtocol(lProto, lookupCategory,
1873 IdentifierInfo *Id, ObjCInterfaceDecl *IDecl,
1878 ClassInterface(IDecl), TypeParamList(nullptr),
1890 ObjCInterfaceDecl *IDecl,
1870 ObjCCategoryDecl(DeclContext *DC, SourceLocation AtLoc, SourceLocation ClassNameLoc, SourceLocation CategoryNameLoc, IdentifierInfo *Id, ObjCInterfaceDecl *IDecl, ObjCTypeParamList *typeParamList, SourceLocation IvarLBraceLoc, SourceLocation IvarRBraceLoc) argument
1885 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 DASTContext.cpp1964 ObjCInterfaceDecl *IDecl = const_cast<ObjCInterfaceDecl *>(OI); local
1965 for (const ObjCIvarDecl *Iv = IDecl->all_declared_ivar_begin(); Iv;
3789 /// QT's qualified-id protocol list adopt all protocols in IDecl's list
3792 ObjCInterfaceDecl *IDecl) {
3798 if (!IDecl->hasDefinition())
3801 CollectInheritedProtocols(IDecl, InheritedProtocols);
3805 // of IDecl's, then bridge casting is ok.
3791 QIdProtocolsAdoptObjCObjectProtocols(QualType QT, ObjCInterfaceDecl *IDecl) argument
/external/clang/lib/Frontend/Rewrite/
H A DRewriteObjC.cpp271 void RewriteObjCMethodDecl(const ObjCInterfaceDecl *IDecl,
338 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();
1861 ObjCInterfaceDecl *IDecl = Ptr->getObjectType()->getInterface(); local
1862 if (IDecl) {
5289 RewriteObjCClassMetaData(ObjCImplementationDecl *IDecl, std::string &Result) argument
5642 RewriteObjCCategoryImplDecl(ObjCCategoryImplDecl *IDecl, std::string &Result) argument
[all...]
H A DRewriteModernObjC.cpp325 void RewriteObjCMethodDecl(const ObjCInterfaceDecl *IDecl,
400 bool IsTagDefinedInsideClass(ObjCContainerDecl *IDecl, TagDecl *Tag,
454 void RewriteObjCClassMetaData(ObjCImplementationDecl *IDecl,
837 static void WriteInternalIvarName(const ObjCInterfaceDecl *IDecl, argument
840 Result += IDecl->getName();
1254 void RewriteModernObjC::RewriteObjCMethodDecl(const ObjCInterfaceDecl *IDecl, argument
1271 NameStr += IDecl->getNameAsString();
1297 QualType selfTy = Context->getObjCInterfaceType(IDecl);
1300 if (ObjCSynthesizedStructs.count(const_cast<ObjCInterfaceDecl*>(IDecl)))
1304 ResultStr += IDecl
1990 ObjCInterfaceDecl *IDecl = Ptr->getObjectType()->getInterface(); local
3669 IsTagDefinedInsideClass(ObjCContainerDecl *IDecl, TagDecl *Tag, bool &IsNamedDefinition) argument
3800 ObjCContainerDecl *IDecl = local
4035 const ObjCInterfaceDecl *IDecl = IvarDecl->getContainingInterface(); local
7135 RewriteObjCClassMetaData(ObjCImplementationDecl *IDecl, std::string &Result) argument
7302 ObjCImplementationDecl *IDecl = ClassImplementation[i]; local
7399 RewriteObjCCategoryImplDecl(ObjCCategoryImplDecl *IDecl, std::string &Result) argument
7484 ObjCCategoryImplDecl *IDecl = CategoryImplementation[i]; local
[all...]
/external/clang/lib/StaticAnalyzer/Checkers/
H A DIvarInvalidationChecker.cpp374 ObjCInterfaceDecl *IDecl = const_cast<ObjCInterfaceDecl *>(InterfaceD); local
375 for (const ObjCIvarDecl *Iv = IDecl->all_declared_ivar_begin(); Iv;
/external/clang/include/clang/AST/
H A DDeclObjC.h1557 /// has been implemented in IDecl class, its super class or categories (if
1954 IdentifierInfo *Id, ObjCInterfaceDecl *IDecl,
1966 ObjCInterfaceDecl *IDecl,
H A DASTContext.h1282 /// QT's qualified-id protocol list adopt all protocols in IDecl's list
1285 ObjCInterfaceDecl *IDecl);
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DCallEvent.h868 virtual bool canBeOverridenInSubclass(ObjCInterfaceDecl *IDecl,
/external/clang/lib/CodeGen/
H A DCGObjCGNU.cpp1114 const ObjCInterfaceDecl *IDecl = OPT->getObjectType()->getInterface(); local
1115 assert(IDecl && "Invalid @catch type.");
1116 return MakeConstantString(IDecl->getIdentifier()->getName());
H A DCGObjCMac.cpp4167 ObjCInterfaceDecl *IDecl = ObjTy->getInterface(); local
4168 assert(IDecl && "Catch parameter must have Objective-C type!");
4171 llvm::Value *Class = EmitClassRef(CGF, IDecl);
/external/clang/include/clang/Sema/
H A DSema.h1969 Decl *ActOnObjCContainerStartDefinition(Decl *IDecl);
3019 ObjCContainerDecl* IDecl,
3034 ObjCInterfaceDecl *IDecl);
3090 ObjCInterfaceDecl* IDecl);
3118 ObjCContainerDecl* IDecl,
7184 ObjCInterfaceDecl *IDecl,

Completed in 541 milliseconds