Searched refs:ImplDecl (Results 1 – 8 of 8) sorted by relevance
766 } else if (auto *ImplDecl = dyn_cast<ObjCImplDecl>(Container)) { in findBackingIvar() local767 PrimaryInterface = ImplDecl->getClassInterface(); in findBackingIvar()823 const ObjCImplementationDecl *ImplDecl = in createObjCPropertyGetter() local825 if (ImplDecl) { in createObjCPropertyGetter()826 for (const auto *I : ImplDecl->property_impls()) { in createObjCPropertyGetter()
1052 ObjCMethodDecl *ImplDecl = ObjCMethodDecl::Create( in RedeclarePropertyAccessor() local1060 ImplDecl->getMethodFamily(); in RedeclarePropertyAccessor()1062 ImplDecl->setAttrs(Decl->getAttrs()); in RedeclarePropertyAccessor()1063 ImplDecl->setSelfDecl(Decl->getSelfDecl()); in RedeclarePropertyAccessor()1064 ImplDecl->setCmdDecl(Decl->getCmdDecl()); in RedeclarePropertyAccessor()1067 ImplDecl->setMethodParams(Context, Decl->parameters(), SelLocs); in RedeclarePropertyAccessor()1068 ImplDecl->setLexicalDeclContext(Impl); in RedeclarePropertyAccessor()1069 ImplDecl->setDefined(false); in RedeclarePropertyAccessor()1070 return ImplDecl; in RedeclarePropertyAccessor()
3854 } else if (auto *ImplDecl = dyn_cast<ObjCImplementationDecl>(OCD)) { in DiagnoseVariableSizedIvars() local3855 IntfDecl = ImplDecl->getClassInterface(); in DiagnoseVariableSizedIvars()3856 Ivars = ImplDecl->ivars(); in DiagnoseVariableSizedIvars()
16953 CXXRecordDecl *ImplDecl = nullptr; in LookupStdSourceLocationImpl() local16965 ImplDecl = ResultImpl.getAsSingle<CXXRecordDecl>(); in LookupStdSourceLocationImpl()16971 if (!ImplDecl || !ImplDecl->isCompleteDefinition()) { in LookupStdSourceLocationImpl()16978 if (ImplDecl->isUnion() || !ImplDecl->isStandardLayout() || in LookupStdSourceLocationImpl()16979 ImplDecl->getNumBases() != 0) { in LookupStdSourceLocationImpl()16985 for (FieldDecl *F : ImplDecl->fields()) { in LookupStdSourceLocationImpl()17016 return ImplDecl; in LookupStdSourceLocationImpl()
559 ObjCImplDecl *ImplDecl = Interface->getImplementation(); in diagnoseMissingReleases() local562 ImplDecl->FindPropertyImplIvarDecl(IvarDecl->getIdentifier()); in diagnoseMissingReleases()569 OS << "The '" << *IvarDecl << "' ivar in '" << *ImplDecl in diagnoseMissingReleases()
1387 if (auto *ImplDecl = dyn_cast<ObjCImplDecl>(Container)) in findPropertyDecl() local1389 Container = ImplDecl->getClassInterface(); in findPropertyDecl()1717 if (ObjCImplementationDecl *ImplDecl = getImplementation()) { in all_declared_ivar_begin() local1719 if (!ImplDecl->ivar_empty()) { in all_declared_ivar_begin()1721 for (auto *IV : ImplDecl->ivars()) { in all_declared_ivar_begin()
2308 const CXXRecordDecl *ImplDecl = getType()->getPointeeCXXRecordDecl(); in EvaluateInContext() local2309 assert(ImplDecl); in EvaluateInContext()2316 for (FieldDecl *F : ImplDecl->fields()) { in EvaluateInContext()
2881 if (ObjCImplementationDecl *ImplDecl = OI->getImplementation()) in CountNonClassIvars() local2882 count += ImplDecl->ivar_size(); in CountNonClassIvars()