Searched refs:ImplDecl (Results 1 – 8 of 8) sorted by relevance
767 } else if (auto *ImplDecl = dyn_cast<ObjCImplDecl>(Container)) { in findBackingIvar() local768 PrimaryInterface = ImplDecl->getClassInterface(); in findBackingIvar()824 const ObjCImplementationDecl *ImplDecl = in createObjCPropertyGetter() local826 if (ImplDecl) { in createObjCPropertyGetter()827 for (const auto *I : ImplDecl->property_impls()) { in createObjCPropertyGetter()
566 ObjCImplDecl *ImplDecl = Interface->getImplementation(); in diagnoseMissingReleases() local569 ImplDecl->FindPropertyImplIvarDecl(IvarDecl->getIdentifier()); in diagnoseMissingReleases()576 OS << "The '" << *IvarDecl << "' ivar in '" << *ImplDecl in diagnoseMissingReleases()
1038 ObjCMethodDecl *ImplDecl = ObjCMethodDecl::Create( in RedeclarePropertyAccessor() local1046 ImplDecl->getMethodFamily(); in RedeclarePropertyAccessor()1048 ImplDecl->setAttrs(Decl->getAttrs()); in RedeclarePropertyAccessor()1049 ImplDecl->setSelfDecl(Decl->getSelfDecl()); in RedeclarePropertyAccessor()1050 ImplDecl->setCmdDecl(Decl->getCmdDecl()); in RedeclarePropertyAccessor()1053 ImplDecl->setMethodParams(Context, Decl->parameters(), SelLocs); in RedeclarePropertyAccessor()1054 ImplDecl->setLexicalDeclContext(Impl); in RedeclarePropertyAccessor()1055 ImplDecl->setDefined(false); in RedeclarePropertyAccessor()1056 return ImplDecl; in RedeclarePropertyAccessor()
3858 } else if (auto *ImplDecl = dyn_cast<ObjCImplementationDecl>(OCD)) { in DiagnoseVariableSizedIvars() local3859 IntfDecl = ImplDecl->getClassInterface(); in DiagnoseVariableSizedIvars()3860 Ivars = ImplDecl->ivars(); in DiagnoseVariableSizedIvars()
16831 CXXRecordDecl *ImplDecl = nullptr; in LookupStdSourceLocationImpl() local16843 ImplDecl = ResultImpl.getAsSingle<CXXRecordDecl>(); in LookupStdSourceLocationImpl()16849 if (!ImplDecl || !ImplDecl->isCompleteDefinition()) { in LookupStdSourceLocationImpl()16856 if (ImplDecl->isUnion() || !ImplDecl->isStandardLayout() || in LookupStdSourceLocationImpl()16857 ImplDecl->getNumBases() != 0) { in LookupStdSourceLocationImpl()16863 for (FieldDecl *F : ImplDecl->fields()) { in LookupStdSourceLocationImpl()16894 return ImplDecl; in LookupStdSourceLocationImpl()
1384 if (auto *ImplDecl = dyn_cast<ObjCImplDecl>(Container)) in findPropertyDecl() local1386 Container = ImplDecl->getClassInterface(); in findPropertyDecl()1708 if (ObjCImplementationDecl *ImplDecl = getImplementation()) { in all_declared_ivar_begin() local1710 if (!ImplDecl->ivar_empty()) { in all_declared_ivar_begin()1712 for (auto *IV : ImplDecl->ivars()) { in all_declared_ivar_begin()
2350 const CXXRecordDecl *ImplDecl = getType()->getPointeeCXXRecordDecl(); in EvaluateInContext() local2351 assert(ImplDecl); in EvaluateInContext()2358 for (const FieldDecl *F : ImplDecl->fields()) { in EvaluateInContext()
3083 if (ObjCImplementationDecl *ImplDecl = OI->getImplementation()) in CountNonClassIvars() local3084 count += ImplDecl->ivar_size(); in CountNonClassIvars()