Home
last modified time | relevance | path

Searched refs:ObjCIvarDecl (Results 1 – 25 of 72) sorted by relevance

123

/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DIvarInvalidationChecker.cpp61 typedef llvm::DenseMap<const ObjCIvarDecl*,
127 void markInvalidated(const ObjCIvarDecl *Iv);
191 static const ObjCIvarDecl *findPropertyBackingIvar(
195 const ObjCIvarDecl **FirstIvarDecl);
199 const ObjCIvarDecl *IvarDecl,
290 const ObjCIvarDecl *I = cast<ObjCIvarDecl>(Iv->getCanonicalDecl()); in trackIvar()
304 const ObjCIvarDecl *IvarD = nullptr; in findPropertyBackingIvar()
323 const ObjCIvarDecl *Iv = I->first; in findPropertyBackingIvar()
365 const ObjCIvarDecl *FirstIvarDecl = nullptr; in visit()
552 reportIvarNeedsInvalidation(const ObjCIvarDecl *IvarD, in reportIvarNeedsInvalidation()
[all …]
H A DDirectIvarAssignment.cpp54 typedef llvm::DenseMap<const ObjCIvarDecl*,
94 static const ObjCIvarDecl *findPropertyBackingIvar(const ObjCPropertyDecl *PD, in findPropertyBackingIvar()
98 ObjCIvarDecl *ID = PD->getPropertyIvarDecl(); in findPropertyBackingIvar()
127 const ObjCIvarDecl *ID = findPropertyBackingIvar(PD, InterD, in checkASTDecl()
176 if (const ObjCIvarDecl *D = IvarRef->getDecl()) { in VisitBinaryOperator()
H A DObjCUnusedIVarsChecker.cpp30 typedef llvm::DenseMap<const ObjCIvarDecl*,IVarState> IvarUsageMap;
37 const ObjCIvarDecl *D = Ex->getDecl(); in Scan()
67 const ObjCIvarDecl *ID = D->getPropertyIvarDecl(); in Scan()
120 if (Ivar->getAccessControl() != ObjCIvarDecl::Private || in checkObjCUnusedIvar()
H A DCheckObjCDealloc.cpp69 const ObjCIvarDecl **ID, in isSynthesizedRetainableProperty()
521 const ObjCIvarDecl *IvarDecl = IvarRegion->getDecl(); in diagnoseMissingReleases()
624 const ObjCIvarDecl *IvarDecl = IvarRegion->getDecl(); in findPropertyOnDeallocatingInstance()
887 const ObjCIvarDecl *IvarDecl; in getDeallocReleaseRequirement()
949 ObjCIvarDecl *PropIvarDecl = Prop->getPropertyIvarDecl(); in getValueReleasedByNillingOut()
1071 const ObjCIvarDecl *IvarDecl = PropImpl->getPropertyIvarDecl(); in isNibLoadedIvarWithoutRetain()
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCGObjCRuntime.h52 class ObjCIvarDecl; variable
81 const ObjCIvarDecl *Ivar);
84 const ObjCIvarDecl *Ivar);
89 const ObjCIvarDecl *Ivar,
306 const ObjCIvarDecl *Ivar,
310 const ObjCIvarDecl *Ivar) = 0;
345 const ObjCIvarDecl *Ivar);
H A DCGObjCRuntime.cpp32 const ObjCIvarDecl *Ivar) { in ComputeIvarBaseOffset()
39 const ObjCIvarDecl *Ivar) { in ComputeIvarBaseOffset()
48 const ObjCIvarDecl *Ivar) { in ComputeBitfieldBitOffset()
56 const ObjCIvarDecl *Ivar, in EmitValueForIvarAtOffset()
H A DCGObjCGNU.cpp518 const ObjCIvarDecl *Ivar) { in GetIVarOffsetVariableName()
525 const ObjCIvarDecl *Ivar);
654 const ObjCIvarDecl *Ivar) override;
1691 const ObjCIvarDecl *Ivar) override { in EmitIvarOffset()
1863 (IVD->getAccessControl() == ObjCIvarDecl::Private || in GenerateClass()
1864 IVD->getAccessControl() == ObjCIvarDecl::Package || in GenerateClass()
3457 for (const ObjCIvarDecl *IVD = ClassDecl->all_declared_ivar_begin(); IVD; in GenerateClass()
4042 const ObjCIvarDecl *Ivar) { in ObjCIvarOffsetVariable()
4058 const ObjCIvarDecl *Ivar, in EmitObjCValueForIvar()
4069 for (const ObjCIvarDecl *next = OID->all_declared_ivar_begin(); next; in FindIvarInterface()
[all …]
H A DCGObjC.cpp922 ObjCIvarDecl *ivar = propImpl->getPropertyIvarDecl(); in PropertyImplStrategy()
1084 ObjCIvarDecl *ivar, in emitCPPObjectAtomicGetterCall()
1125 ObjCIvarDecl *ivar = propImpl->getPropertyIvarDecl(); in generateObjCGetterBody()
1136 ObjCIvarDecl *ivar = propImpl->getPropertyIvarDecl(); in generateObjCGetterBody()
1291 ObjCIvarDecl *ivar) { in emitStructSetterCall()
1336 ObjCIvarDecl *ivar, in emitCPPObjectAtomicSetterCall()
1404 ObjCIvarDecl *ivar = propImpl->getPropertyIvarDecl(); in generateObjCSetterBody()
1593 const ObjCIvarDecl *ivar;
1597 DestroyIvar(llvm::Value *addr, const ObjCIvarDecl *ivar, in DestroyIvar()
1627 for (const ObjCIvarDecl *ivar = iface->all_declared_ivar_begin(); in emitCXXDestructMethod()
[all …]
/freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/
H A DDeclObjC.h54 class ObjCIvarDecl; variable
770 ObjCIvarDecl *PropertyIvarDecl = nullptr;
921 ObjCIvarDecl *getPropertyIvarDecl() const { in getPropertyIvarDecl()
1179 ObjCIvarDecl *IvarList = nullptr;
1458 ObjCIvarDecl *all_declared_ivar_begin();
1921 class ObjCIvarDecl : public FieldDecl {
1980 ObjCIvarDecl *NextIvar = nullptr;
2763 ObjCIvarDecl *PropertyIvarDecl;
2781 ObjCIvarDecl *ivarDecl, in ObjCPropertyImplDecl()
2814 ObjCIvarDecl *getPropertyIvarDecl() const { in getPropertyIvarDecl()
[all …]
H A DExprObjC.h549 ObjCIvarDecl *D;
563 ObjCIvarRefExpr(ObjCIvarDecl *d, QualType t, SourceLocation l,
576 ObjCIvarDecl *getDecl() { return D; } in getDecl()
577 const ObjCIvarDecl *getDecl() const { return D; } in getDecl()
578 void setDecl(ObjCIvarDecl *d) { D = d; } in setDecl()
/freebsd-13.1/contrib/llvm-project/clang/lib/ARCMigrate/
H A DTransProperties.cpp60 ObjCIvarDecl *IvarD;
113 ObjCIvarDecl *ivarD = implD->getPropertyIvarDecl(); in doTransform()
285 ObjCIvarDecl *Ivar;
287 PlusOneAssign(ObjCIvarDecl *D) : Ivar(D) {} in PlusOneAssign()
343 bool isUserDeclared(ObjCIvarDecl *ivarD) const { in isUserDeclared()
H A DTransZeroOutPropsInDealloc.cpp168 ObjCIvarDecl *IVDecl = IV->getDecl(); in isZeroingPropIvar()
/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DDeclObjC.cpp79 ObjCIvarDecl *
84 if (auto *ivar = dyn_cast<ObjCIvarDecl>(*Ivar)) in getIvarDecl()
633 if (ObjCIvarDecl *I = ClassDecl->getIvarDecl(ID)) { in lookupInstanceVariable()
639 if (ObjCIvarDecl *I = Ext->getIvarDecl(ID)) { in lookupInstanceVariable()
1605 ObjCIvarDecl *Ivar;
1607 SynthesizeIvarChunk(uint64_t size, ObjCIvarDecl *ivar) in SynthesizeIvarChunk()
1627 ObjCIvarDecl *ObjCInterfaceDecl::all_declared_ivar_begin() { in all_declared_ivar_begin()
1632 ObjCIvarDecl *curIvar = nullptr; in all_declared_ivar_begin()
1781 void ObjCIvarDecl::anchor() {} in anchor()
1783 ObjCIvarDecl *ObjCIvarDecl::Create(ASTContext &C, ObjCContainerDecl *DC, in Create()
[all …]
H A DJSONNodeDumper.cpp956 void JSONNodeDumper::VisitObjCIvarDecl(const ObjCIvarDecl *D) { in VisitObjCIvarDecl()
961 case ObjCIvarDecl::None: JOS.attribute("access", "none"); break; in VisitObjCIvarDecl()
962 case ObjCIvarDecl::Private: JOS.attribute("access", "private"); break; in VisitObjCIvarDecl()
963 case ObjCIvarDecl::Protected: JOS.attribute("access", "protected"); break; in VisitObjCIvarDecl()
964 case ObjCIvarDecl::Public: JOS.attribute("access", "public"); break; in VisitObjCIvarDecl()
965 case ObjCIvarDecl::Package: JOS.attribute("access", "package"); break; in VisitObjCIvarDecl()
/freebsd-13.1/contrib/llvm-project/clang/lib/Analysis/
H A DBodyFarm.cpp93 ObjCIvarRefExpr *makeObjCIvarRef(const Expr *Base, const ObjCIvarDecl *IVar);
192 const ObjCIvarDecl *IVar) { in makeObjCIvarRef()
193 return new (C) ObjCIvarRefExpr(const_cast<ObjCIvarDecl*>(IVar), in makeObjCIvarRef()
704 static const ObjCIvarDecl *findBackingIvar(const ObjCPropertyDecl *Prop) { in findBackingIvar()
705 const ObjCIvarDecl *IVar = Prop->getPropertyIvarDecl(); in findBackingIvar()
746 const ObjCIvarDecl *IVar = nullptr; in createObjCPropertyGetter()
/freebsd-13.1/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteModernObjC.cpp3789 ObjCIvarDecl *Ivar = IVars[i]; in SynthesizeBitfieldGroupStructType()
3807 SmallVector<ObjCIvarDecl *, 8> IVars; in GetGroupRecordTypeForObjCIvarBitfield()
3881 SmallVector<ObjCIvarDecl *, 8> IVars; in RewriteObjCInternalStruct()
3911 ObjCIvarDecl *IV = IVars[i]; in RewriteObjCInternalStruct()
3931 ObjCIvarDecl *IV = IVars[i]; in RewriteObjCInternalStruct()
3962 for (ObjCIvarDecl *IvarDecl : Ivars) { in RewriteIvarOffsetSymbols()
6739 ObjCIvarDecl *IvarDecl = Ivars[i]; in Write_IvarOffsetVar()
6771 SmallVector<ObjCIvarDecl *, 8> Ivars; in Write__ivar_list_t_initializer()
6793 ObjCIvarDecl *IvarDecl = Ivars[i]; in Write__ivar_list_t_initializer()
7011 SmallVector<ObjCIvarDecl *, 8> IVars; in RewriteObjCClassMetaData()
[all …]
/freebsd-13.1/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DStore.h41 class ObjCIvarDecl; variable
143 virtual SVal getLValueIvar(const ObjCIvarDecl *decl, SVal base);
H A DMemRegion.h1094 const ObjCIvarDecl *IVD;
1096 ObjCIvarRegion(const ObjCIvarDecl *ivd, const SubRegion *sReg);
1098 static void ProfileRegion(llvm::FoldingSetNodeID& ID, const ObjCIvarDecl *ivd,
1102 const ObjCIvarDecl *getDecl() const override;
1430 const ObjCIvarRegion *getObjCIvarRegion(const ObjCIvarDecl *ivd,
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/
H A DAppleObjCDeclVendor.cpp492 clang::ObjCIvarDecl *ivar_decl = clang::ObjCIvarDecl::Create( in FinishDecl()
497 clang::ObjCIvarDecl::Public, nullptr, is_synthesized); in FinishDecl()
/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DStore.cpp433 if (const auto *ID = dyn_cast<ObjCIvarDecl>(D)) in getLValueFieldOrIvar()
439 SVal StoreManager::getLValueIvar(const ObjCIvarDecl *decl, SVal base) { in getLValueIvar()
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaDeclObjC.cpp2150 ObjCIvarDecl* ImplIvar = ivars[i]; in CheckImplementationIvars()
2151 if (const ObjCIvarDecl *ClsIvar = in CheckImplementationIvars()
2159 if (const ObjCIvarDecl *ClsExtIvar = in CheckImplementationIvars()
2180 ObjCIvarDecl* ImplIvar = ivars[j++]; in CheckImplementationIvars()
2181 ObjCIvarDecl* ClsIvar = *IVI; in CheckImplementationIvars()
3893 ObjCIvarDecl *FirstIvar = in DiagnoseVariableSizedIvars()
3902 const ObjCIvarDecl *LastIvar = *IvarIter; in DiagnoseVariableSizedIvars()
5094 SmallVector<const ObjCIvarDecl*, 32> Ivars; in ActOnDefs()
5257 ObjCIvarDecl *
5290 const ObjCIvarDecl *IvarD;
[all …]
H A DSemaObjCProperty.cpp723 ObjCIvarDecl *ivar) { in checkARCPropertyImpl()
750 ivar->getAccessControl() == ObjCIvarDecl::Private) { in checkARCPropertyImpl()
801 ObjCPropertyDecl *property, ObjCIvarDecl *ivar) { in setImpliedPropertyAttributeForReadOnlyProperty()
1201 ObjCIvarDecl *Ivar = nullptr; in ActOnPropertyImplDecl()
1280 ObjCIvarDecl *originalIvar = in ActOnPropertyImplDecl()
1318 Ivar = ObjCIvarDecl::Create(Context, ClassImpDecl, in ActOnPropertyImplDecl()
1321 ObjCIvarDecl::Private, in ActOnPropertyImplDecl()
1581 ObjCIvarDecl *Ivar = nullptr; in ActOnPropertyImplDecl()
1838 ObjCMethodDecl *Method, ObjCIvarDecl *IV) { in IvarBacksCurrentMethodAccessor()
H A DSemaExprMember.cpp1346 ObjCIvarDecl *IV = IDecl->lookupInstanceVariable(Member, ClassDeclared); in LookupMemberExpr()
1350 DeclFilterCCC<ObjCIvarDecl> Validator{}; in LookupMemberExpr()
1355 IV = Corrected.getCorrectionDeclAs<ObjCIvarDecl>(); in LookupMemberExpr()
1402 if (IV->getAccessControl() != ObjCIvarDecl::Public && in LookupMemberExpr()
1403 IV->getAccessControl() != ObjCIvarDecl::Package) { in LookupMemberExpr()
1422 if (IV->getAccessControl() == ObjCIvarDecl::Private) { in LookupMemberExpr()
H A DSemaAccess.cpp1926 if (ObjCIvarDecl *Ivar = dyn_cast<ObjCIvarDecl>(Target)) { in IsSimplyAccessible()
1928 if (Ivar->getCanonicalAccessControl() == ObjCIvarDecl::Public || in IsSimplyAccessible()
1929 Ivar->getCanonicalAccessControl() == ObjCIvarDecl::Package) in IsSimplyAccessible()
1958 if (Ivar->getCanonicalAccessControl() == ObjCIvarDecl::Private) in IsSimplyAccessible()
/freebsd-13.1/contrib/llvm-project/clang/lib/Index/
H A DIndexDecl.cpp326 bool VisitObjCIvarDecl(const ObjCIvarDecl *D) { in VisitObjCIvarDecl()
530 if (ObjCIvarDecl *ID = D->getPropertyIvarDecl()) in VisitObjCPropertyImplDecl()
552 if (ObjCIvarDecl *IvarD = D->getPropertyIvarDecl()) { in VisitObjCPropertyImplDecl()

123