Home
last modified time | relevance | path

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

1234

/openbsd-src/gnu/llvm/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.cpp70 const ObjCIvarDecl **ID, in isSynthesizedRetainableProperty()
522 const ObjCIvarDecl *IvarDecl = IvarRegion->getDecl(); in diagnoseMissingReleases()
625 const ObjCIvarDecl *IvarDecl = IvarRegion->getDecl(); in findPropertyOnDeallocatingInstance()
888 const ObjCIvarDecl *IvarDecl; in getDeallocReleaseRequirement()
950 ObjCIvarDecl *PropIvarDecl = Prop->getPropertyIvarDecl(); in getValueReleasedByNillingOut()
1072 const ObjCIvarDecl *IvarDecl = PropImpl->getPropertyIvarDecl(); in isNibLoadedIvarWithoutRetain()
/openbsd-src/gnu/llvm/clang/include/clang/AST/
H A DDeclObjC.h53 class ObjCIvarDecl; variable
770 ObjCIvarDecl *PropertyIvarDecl = nullptr;
913 void setPropertyIvarDecl(ObjCIvarDecl *Ivar) { in setPropertyIvarDecl()
917 ObjCIvarDecl *getPropertyIvarDecl() const { in getPropertyIvarDecl()
1069 ObjCIvarDecl *getIvarDecl(IdentifierInfo *Id) const;
1178 ObjCIvarDecl *IvarList = nullptr;
1436 using ivar_iterator = specific_decl_iterator<ObjCIvarDecl>;
1437 using ivar_range = llvm::iterator_range<specific_decl_iterator<ObjCIvarDecl>>;
1463 ObjCIvarDecl *all_declared_ivar_begin();
1464 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()
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DCGObjCRuntime.h53 class ObjCIvarDecl; variable
82 const ObjCIvarDecl *Ivar);
85 const ObjCIvarDecl *Ivar);
90 const ObjCIvarDecl *Ivar,
307 const ObjCIvarDecl *Ivar,
311 const ObjCIvarDecl *Ivar) = 0;
363 const ObjCIvarDecl *Ivar);
H A DCGObjCRuntime.cpp33 const ObjCIvarDecl *Ivar) { in ComputeIvarBaseOffset()
40 const ObjCIvarDecl *Ivar) { in ComputeIvarBaseOffset()
49 const ObjCIvarDecl *Ivar) { in ComputeBitfieldBitOffset()
57 const ObjCIvarDecl *Ivar, in EmitValueForIvarAtOffset()
H A DCGObjCGNU.cpp519 const ObjCIvarDecl *Ivar) { in GetIVarOffsetVariableName()
526 const ObjCIvarDecl *Ivar);
651 llvm::Value *BaseValue, const ObjCIvarDecl *Ivar,
655 const ObjCIvarDecl *Ivar) override;
1682 const ObjCIvarDecl *Ivar) override { in GetIVarOffsetVariableName()
1694 const ObjCIvarDecl *Ivar) override { in EmitIvarOffset()
1823 for (const ObjCIvarDecl *IVD = classDecl->all_declared_ivar_begin(); IVD; in GenerateClass()
1842 for (const ObjCIvarDecl *IVD = classDecl->all_declared_ivar_begin(); IVD; in GenerateClass()
1866 (IVD->getAccessControl() == ObjCIvarDecl::Private || in GenerateClass()
1867 IVD->getAccessControl() == ObjCIvarDecl::Package || in GenerateClass()
[all …]
H A DCGObjC.cpp818 static void emitStructGetterCall(CodeGenFunction &CGF, ObjCIvarDecl *ivar, in emitStructGetterCall()
926 ObjCIvarDecl *ivar = propImpl->getPropertyIvarDecl(); in PropertyImplStrategy()
1088 ObjCIvarDecl *ivar, in emitCPPObjectAtomicGetterCall()
1140 ObjCIvarDecl *ivar = propImpl->getPropertyIvarDecl(); in generateObjCGetterBody()
1149 ObjCIvarDecl *ivar = propImpl->getPropertyIvarDecl(); in generateObjCGetterBody()
1165 ObjCIvarDecl *ivar = propImpl->getPropertyIvarDecl(); in generateObjCGetterBody()
1326 ObjCIvarDecl *ivar) { in emitStructSetterCall()
1371 ObjCIvarDecl *ivar, in emitCPPObjectAtomicSetterCall()
1439 ObjCIvarDecl *ivar = propImpl->getPropertyIvarDecl(); in generateObjCSetterBody()
1651 const ObjCIvarDecl *ivar;
[all …]
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/clang/lib/AST/
H A DDeclObjC.cpp79 ObjCIvarDecl *
84 if (auto *ivar = dyn_cast<ObjCIvarDecl>(*Ivar)) in getIvarDecl()
638 ObjCIvarDecl *ObjCInterfaceDecl::lookupInstanceVariable(IdentifierInfo *ID, in lookupInstanceVariable()
649 if (ObjCIvarDecl *I = ClassDecl->getIvarDecl(ID)) { in lookupInstanceVariable()
655 if (ObjCIvarDecl *I = Ext->getIvarDecl(ID)) { in lookupInstanceVariable()
1656 ObjCIvarDecl *Ivar;
1658 SynthesizeIvarChunk(uint64_t size, ObjCIvarDecl *ivar) in SynthesizeIvarChunk()
1678 ObjCIvarDecl *ObjCInterfaceDecl::all_declared_ivar_begin() { in all_declared_ivar_begin()
1683 ObjCIvarDecl *curIvar = nullptr; in all_declared_ivar_begin()
1837 void ObjCIvarDecl::anchor() {} in anchor()
[all …]
/openbsd-src/gnu/llvm/clang/lib/Analysis/
H A DBodyFarm.cpp98 ObjCIvarRefExpr *makeObjCIvarRef(const Expr *Base, const ObjCIvarDecl *IVar);
208 const ObjCIvarDecl *IVar) { in makeObjCIvarRef()
209 return new (C) ObjCIvarRefExpr(const_cast<ObjCIvarDecl*>(IVar), in makeObjCIvarRef()
745 static const ObjCIvarDecl *findBackingIvar(const ObjCPropertyDecl *Prop) { in findBackingIvar()
746 const ObjCIvarDecl *IVar = Prop->getPropertyIvarDecl(); in findBackingIvar()
787 const ObjCIvarDecl *IVar = nullptr; in createObjCPropertyGetter()
/openbsd-src/gnu/llvm/clang/lib/Frontend/Rewrite/
H A DRewriteModernObjC.cpp150 llvm::SmallSetVector<ObjCIvarDecl *, 8> > ReferencedIvars;
154 llvm::DenseMap<const ObjCIvarDecl* , unsigned> IvarGroupNumber;
345 std::string getIvarAccessString(ObjCIvarDecl *D);
372 unsigned ObjCIvarBitfieldGroupNo(ObjCIvarDecl *IV);
374 void ObjCIvarBitfieldGroupDecl(ObjCIvarDecl *IV, std::string &Result);
376 void ObjCIvarBitfieldGroupType(ObjCIvarDecl *IV, std::string &Result);
378 void ObjCIvarBitfieldGroupOffset(ObjCIvarDecl *IV, std::string &Result);
380 QualType GetGroupRecordTypeForObjCIvarBitfield(ObjCIvarDecl *IV);
382 ObjCIvarDecl *IV,
383 SmallVectorImpl<ObjCIvarDecl *> &IVars);
[all …]
/openbsd-src/gnu/llvm/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DStore.h41 class ObjCIvarDecl; variable
144 virtual SVal getLValueIvar(const ObjCIvarDecl *decl, SVal base);
H A DMemRegion.h1139 const ObjCIvarDecl *IVD;
1141 ObjCIvarRegion(const ObjCIvarDecl *ivd, const SubRegion *sReg);
1143 static void ProfileRegion(llvm::FoldingSetNodeID& ID, const ObjCIvarDecl *ivd,
1148 const ObjCIvarDecl *getDecl() const override;
1484 const ObjCIvarRegion *getObjCIvarRegion(const ObjCIvarDecl *ivd,
/openbsd-src/gnu/llvm/clang/include/clang/ExtractAPI/
H A DExtractAPIVisitor.h75 DeclContext::specific_decl_iterator<ObjCIvarDecl>>
/openbsd-src/gnu/llvm/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/
H A DAppleObjCDeclVendor.cpp490 clang::ObjCIvarDecl *ivar_decl = clang::ObjCIvarDecl::Create( in FinishDecl()
495 clang::ObjCIvarDecl::Public, nullptr, is_synthesized); in FinishDecl()
/openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Core/
H A DStore.cpp434 if (const auto *ID = dyn_cast<ObjCIvarDecl>(D)) in getLValueFieldOrIvar()
440 SVal StoreManager::getLValueIvar(const ObjCIvarDecl *decl, SVal base) { in getLValueIvar()
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaDeclObjC.cpp2135 ObjCIvarDecl **ivars, unsigned numIvars, in CheckImplementationIvars()
2169 ObjCIvarDecl* ImplIvar = ivars[i]; in CheckImplementationIvars()
2170 if (const ObjCIvarDecl *ClsIvar = in CheckImplementationIvars()
2178 if (const ObjCIvarDecl *ClsExtIvar = in CheckImplementationIvars()
2199 ObjCIvarDecl* ImplIvar = ivars[j++]; in CheckImplementationIvars()
2200 ObjCIvarDecl* ClsIvar = *IVI; in CheckImplementationIvars()
3774 ObjCIvarDecl* prevIvar = SID->lookupInstanceVariable(II); in DiagnoseDuplicateIvars()
3879 for (ObjCIvarDecl *ivar = IntfDecl->all_declared_ivar_begin(); ivar; in DiagnoseVariableSizedIvars()
3909 ObjCIvarDecl *FirstIvar = in DiagnoseVariableSizedIvars()
3918 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()
1581 ObjCIvarDecl *Ivar = nullptr; in ActOnPropertyImplDecl()
1837 ObjCMethodDecl *Method, ObjCIvarDecl *IV) { in IvarBacksCurrentMethodAccessor()
H A DSemaExprMember.cpp1362 ObjCIvarDecl *IV = IDecl->lookupInstanceVariable(Member, ClassDeclared); in LookupMemberExpr()
1366 DeclFilterCCC<ObjCIvarDecl> Validator{}; in LookupMemberExpr()
1371 IV = Corrected.getCorrectionDeclAs<ObjCIvarDecl>(); in LookupMemberExpr()
1418 if (IV->getAccessControl() != ObjCIvarDecl::Public && in LookupMemberExpr()
1419 IV->getAccessControl() != ObjCIvarDecl::Package) { in LookupMemberExpr()
1438 if (IV->getAccessControl() == ObjCIvarDecl::Private) { in LookupMemberExpr()
H A DSemaAccess.cpp1948 if (ObjCIvarDecl *Ivar = dyn_cast<ObjCIvarDecl>(Target)) { in IsSimplyAccessible()
1950 if (Ivar->getCanonicalAccessControl() == ObjCIvarDecl::Public || in IsSimplyAccessible()
1951 Ivar->getCanonicalAccessControl() == ObjCIvarDecl::Package) in IsSimplyAccessible()
1980 if (Ivar->getCanonicalAccessControl() == ObjCIvarDecl::Private) in IsSimplyAccessible()
/openbsd-src/gnu/llvm/clang/lib/Index/
H A DIndexDecl.cpp332 bool VisitObjCIvarDecl(const ObjCIvarDecl *D) { in VisitObjCIvarDecl()
545 if (ObjCIvarDecl *ID = D->getPropertyIvarDecl()) in VisitObjCPropertyImplDecl()
567 if (ObjCIvarDecl *IvarD = D->getPropertyIvarDecl()) { in VisitObjCPropertyImplDecl()

1234