Home
last modified time | relevance | path

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

123

/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
H A DIvarInvalidationChecker.cpp58 const ObjCIvarDecl*> MethToIvarMapTy;
60 const ObjCIvarDecl*> PropToIvarMapTy;
61 typedef llvm::DenseMap<const ObjCIvarDecl*,
94 typedef llvm::DenseMap<const ObjCIvarDecl*, InvalidationInfo> IvarSet;
127 void markInvalidated(const ObjCIvarDecl *Iv);
185 static bool trackIvar(const ObjCIvarDecl *Iv, IvarSet &TrackedIvars,
186 const ObjCIvarDecl **FirstIvarDecl);
191 static const ObjCIvarDecl *findPropertyBackingIvar(
195 const ObjCIvarDecl **FirstIvarDecl);
199 const ObjCIvarDecl *IvarDecl,
[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()
/netbsd-src/external/apache2/llvm/dist/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);
650 llvm::Value *BaseValue, const ObjCIvarDecl *Ivar,
654 const ObjCIvarDecl *Ivar) override;
1676 const ObjCIvarDecl *Ivar) override { in GetIVarOffsetVariableName()
1688 const ObjCIvarDecl *Ivar) override { in EmitIvarOffset()
1817 for (const ObjCIvarDecl *IVD = classDecl->all_declared_ivar_begin(); IVD; in GenerateClass()
1836 for (const ObjCIvarDecl *IVD = classDecl->all_declared_ivar_begin(); IVD; in GenerateClass()
1860 (IVD->getAccessControl() == ObjCIvarDecl::Private || in GenerateClass()
1861 IVD->getAccessControl() == ObjCIvarDecl::Package || in GenerateClass()
[all …]
H A DCGObjC.cpp815 static void emitStructGetterCall(CodeGenFunction &CGF, ObjCIvarDecl *ivar, in emitStructGetterCall()
922 ObjCIvarDecl *ivar = propImpl->getPropertyIvarDecl(); in PropertyImplStrategy()
1083 ObjCIvarDecl *ivar, in emitCPPObjectAtomicGetterCall()
1124 ObjCIvarDecl *ivar = propImpl->getPropertyIvarDecl(); in generateObjCGetterBody()
1135 ObjCIvarDecl *ivar = propImpl->getPropertyIvarDecl(); in generateObjCGetterBody()
1290 ObjCIvarDecl *ivar) { in emitStructSetterCall()
1335 ObjCIvarDecl *ivar, in emitCPPObjectAtomicSetterCall()
1403 ObjCIvarDecl *ivar = propImpl->getPropertyIvarDecl(); in generateObjCSetterBody()
1592 const ObjCIvarDecl *ivar;
1596 DestroyIvar(llvm::Value *addr, const ObjCIvarDecl *ivar, in DestroyIvar()
[all …]
H A DCGObjCMac.cpp1390 llvm::Value *BaseValue, const ObjCIvarDecl *Ivar,
1394 const ObjCIvarDecl *Ivar) override;
1461 const ObjCIvarDecl *Ivar,
1532 const ObjCIvarDecl *Ivar);
1568 const ObjCIvarDecl *IV) { in IsIvarOffsetKnownIdempotent()
1702 llvm::Value *BaseValue, const ObjCIvarDecl *Ivar,
1706 const ObjCIvarDecl *Ivar) override;
3538 for (const ObjCIvarDecl *ivar = in hasMRCWeakIvars()
3847 for (const ObjCIvarDecl *IVD = OID->all_declared_ivar_begin(); in EmitIvarList()
5087 const ObjCIvarDecl *Ivar, in EmitObjCValueForIvar()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/
H A DDeclObjC.h54 class ObjCIvarDecl; variable
770 ObjCIvarDecl *PropertyIvarDecl = nullptr;
917 void setPropertyIvarDecl(ObjCIvarDecl *Ivar) { in setPropertyIvarDecl()
921 ObjCIvarDecl *getPropertyIvarDecl() const { in getPropertyIvarDecl()
1073 ObjCIvarDecl *getIvarDecl(IdentifierInfo *Id) const;
1179 ObjCIvarDecl *IvarList = nullptr;
1431 using ivar_iterator = specific_decl_iterator<ObjCIvarDecl>;
1432 using ivar_range = llvm::iterator_range<specific_decl_iterator<ObjCIvarDecl>>;
1458 ObjCIvarDecl *all_declared_ivar_begin();
1459 const ObjCIvarDecl *all_declared_ivar_begin() const { in all_declared_ivar_begin()
[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()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DDeclObjC.cpp79 ObjCIvarDecl *
84 if (auto *ivar = dyn_cast<ObjCIvarDecl>(*Ivar)) in getIvarDecl()
622 ObjCIvarDecl *ObjCInterfaceDecl::lookupInstanceVariable(IdentifierInfo *ID, in lookupInstanceVariable()
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()
[all …]
H A DJSONNodeDumper.cpp917 void JSONNodeDumper::VisitObjCIvarDecl(const ObjCIvarDecl *D) { in VisitObjCIvarDecl()
922 case ObjCIvarDecl::None: JOS.attribute("access", "none"); break; in VisitObjCIvarDecl()
923 case ObjCIvarDecl::Private: JOS.attribute("access", "private"); break; in VisitObjCIvarDecl()
924 case ObjCIvarDecl::Protected: JOS.attribute("access", "protected"); break; in VisitObjCIvarDecl()
925 case ObjCIvarDecl::Public: JOS.attribute("access", "public"); break; in VisitObjCIvarDecl()
926 case ObjCIvarDecl::Package: JOS.attribute("access", "package"); break; in VisitObjCIvarDecl()
H A DTextNodeDumper.cpp2124 void TextNodeDumper::VisitObjCIvarDecl(const ObjCIvarDecl *D) { in VisitObjCIvarDecl()
2131 case ObjCIvarDecl::None: in VisitObjCIvarDecl()
2134 case ObjCIvarDecl::Private: in VisitObjCIvarDecl()
2137 case ObjCIvarDecl::Protected: in VisitObjCIvarDecl()
2140 case ObjCIvarDecl::Public: in VisitObjCIvarDecl()
2143 case ObjCIvarDecl::Package: in VisitObjCIvarDecl()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Frontend/Rewrite/
H A DRewriteModernObjC.cpp149 llvm::SmallSetVector<ObjCIvarDecl *, 8> > ReferencedIvars;
153 llvm::DenseMap<const ObjCIvarDecl* , unsigned> IvarGroupNumber;
344 std::string getIvarAccessString(ObjCIvarDecl *D);
371 unsigned ObjCIvarBitfieldGroupNo(ObjCIvarDecl *IV);
373 void ObjCIvarBitfieldGroupDecl(ObjCIvarDecl *IV, std::string &Result);
375 void ObjCIvarBitfieldGroupType(ObjCIvarDecl *IV, std::string &Result);
377 void ObjCIvarBitfieldGroupOffset(ObjCIvarDecl *IV, std::string &Result);
379 QualType GetGroupRecordTypeForObjCIvarBitfield(ObjCIvarDecl *IV);
381 ObjCIvarDecl *IV,
382 SmallVectorImpl<ObjCIvarDecl *> &IVars);
[all …]
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/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,
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/
H A DStore.cpp432 if (const auto *ID = dyn_cast<ObjCIvarDecl>(D)) in getLValueFieldOrIvar()
438 SVal StoreManager::getLValueIvar(const ObjCIvarDecl *decl, SVal base) { in getLValueIvar()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaDeclObjC.cpp2116 ObjCIvarDecl **ivars, unsigned numIvars, in CheckImplementationIvars()
2150 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()
3758 ObjCIvarDecl* prevIvar = SID->lookupInstanceVariable(II); in DiagnoseDuplicateIvars()
3863 for (ObjCIvarDecl *ivar = IntfDecl->all_declared_ivar_begin(); ivar; in DiagnoseVariableSizedIvars()
3893 ObjCIvarDecl *FirstIvar = in DiagnoseVariableSizedIvars()
3902 const ObjCIvarDecl *LastIvar = *IvarIter; in DiagnoseVariableSizedIvars()
[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()
1582 ObjCIvarDecl *Ivar = nullptr; in ActOnPropertyImplDecl()
1839 ObjCMethodDecl *Method, ObjCIvarDecl *IV) { in IvarBacksCurrentMethodAccessor()
H A DSemaExprMember.cpp1345 ObjCIvarDecl *IV = IDecl->lookupInstanceVariable(Member, ClassDeclared); in LookupMemberExpr()
1349 DeclFilterCCC<ObjCIvarDecl> Validator{}; in LookupMemberExpr()
1354 IV = Corrected.getCorrectionDeclAs<ObjCIvarDecl>(); in LookupMemberExpr()
1401 if (IV->getAccessControl() != ObjCIvarDecl::Public && in LookupMemberExpr()
1402 IV->getAccessControl() != ObjCIvarDecl::Package) { in LookupMemberExpr()
1421 if (IV->getAccessControl() == ObjCIvarDecl::Private) { in LookupMemberExpr()
H A DSemaAccess.cpp1925 if (ObjCIvarDecl *Ivar = dyn_cast<ObjCIvarDecl>(Target)) { in IsSimplyAccessible()
1927 if (Ivar->getCanonicalAccessControl() == ObjCIvarDecl::Public || in IsSimplyAccessible()
1928 Ivar->getCanonicalAccessControl() == ObjCIvarDecl::Package) in IsSimplyAccessible()
1957 if (Ivar->getCanonicalAccessControl() == ObjCIvarDecl::Private) in IsSimplyAccessible()
/netbsd-src/external/apache2/llvm/dist/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