Home
last modified time | relevance | path

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

1234

/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DIvarInvalidationChecker.cpp58 const ObjCIvarDecl*> MethToIvarMapTy;
60 const ObjCIvarDecl*> PropToIvarMapTy;
61 typedef llvm::DenseMap<const ObjCIvarDecl*,
93 typedef llvm::DenseMap<const ObjCIvarDecl*, InvalidationInfo> IvarSet;
126 void markInvalidated(const ObjCIvarDecl *Iv);
184 static bool trackIvar(const ObjCIvarDecl *Iv, IvarSet &TrackedIvars,
185 const ObjCIvarDecl **FirstIvarDecl);
190 static const ObjCIvarDecl *findPropertyBackingIvar(
194 const ObjCIvarDecl **FirstIvarDecl);
198 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()
65 const ObjCIvarDecl *ID = D->getPropertyIvarDecl(); in Scan()
118 if (Ivar->getAccessControl() != ObjCIvarDecl::Private || in checkObjCUnusedIvar()
H A DCheckObjCDealloc.cpp70 const ObjCIvarDecl **ID, in isSynthesizedRetainableProperty()
529 const ObjCIvarDecl *IvarDecl = IvarRegion->getDecl(); in diagnoseMissingReleases()
632 const ObjCIvarDecl *IvarDecl = IvarRegion->getDecl(); in findPropertyOnDeallocatingInstance()
878 const ObjCIvarDecl *IvarDecl; in getDeallocReleaseRequirement()
940 ObjCIvarDecl *PropIvarDecl = Prop->getPropertyIvarDecl(); in getValueReleasedByNillingOut()
1062 const ObjCIvarDecl *IvarDecl = PropImpl->getPropertyIvarDecl(); in isNibLoadedIvarWithoutRetain()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGObjCRuntime.h53 class ObjCIvarDecl; variable
82 const ObjCIvarDecl *Ivar);
85 const ObjCIvarDecl *Ivar);
90 const ObjCIvarDecl *Ivar,
290 const ObjCIvarDecl *Ivar,
294 const ObjCIvarDecl *Ivar) = 0;
346 const ObjCIvarDecl *Ivar);
H A DCGObjCRuntime.cpp33 const ObjCIvarDecl *Ivar) { in ComputeIvarBaseOffset()
40 const ObjCIvarDecl *Ivar) { in ComputeIvarBaseOffset()
48 const ObjCIvarDecl *Ivar) { in ComputeBitfieldBitOffset()
55 const ObjCIvarDecl *Ivar, in EmitValueForIvarAtOffset()
H A DCGObjCGNU.cpp516 const ObjCIvarDecl *Ivar) { in GetIVarOffsetVariableName()
523 const ObjCIvarDecl *Ivar);
652 llvm::Value *BaseValue, const ObjCIvarDecl *Ivar,
656 const ObjCIvarDecl *Ivar) override;
1691 const ObjCIvarDecl *Ivar) override { in GetIVarOffsetVariableName()
1701 const ObjCIvarDecl *Ivar) override { in EmitIvarOffset()
1710 if (Ivar->getAccessControl() != ObjCIvarDecl::Private && in EmitIvarOffset()
1711 Ivar->getAccessControl() != ObjCIvarDecl::Package) in EmitIvarOffset()
1838 for (const ObjCIvarDecl *IVD = classDecl->all_declared_ivar_begin(); IVD; in GenerateClass()
1857 for (const ObjCIvarDecl *IVD = classDecl->all_declared_ivar_begin(); IVD; in GenerateClass()
[all …]
H A DCGObjC.cpp818 static void emitStructGetterCall(CodeGenFunction &CGF, ObjCIvarDecl *ivar, in emitStructGetterCall()
927 ObjCIvarDecl *ivar = propImpl->getPropertyIvarDecl(); in PropertyImplStrategy()
1089 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()
1361 ObjCIvarDecl *ivar) { in emitStructSetterCall()
1405 ObjCIvarDecl *ivar, in emitCPPObjectAtomicSetterCall()
1471 ObjCIvarDecl *ivar = propImpl->getPropertyIvarDecl(); in generateObjCSetterBody()
1689 const ObjCIvarDecl *ivar;
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DDeclObjC.h53 class ObjCIvarDecl; variable
772 ObjCIvarDecl *PropertyIvarDecl = nullptr;
917 void setPropertyIvarDecl(ObjCIvarDecl *Ivar) { in setPropertyIvarDecl()
921 ObjCIvarDecl *getPropertyIvarDecl() const { in getPropertyIvarDecl()
1073 ObjCIvarDecl *getIvarDecl(IdentifierInfo *Id) const;
1182 ObjCIvarDecl *IvarList = nullptr;
1445 using ivar_iterator = specific_decl_iterator<ObjCIvarDecl>;
1446 using ivar_range = llvm::iterator_range<specific_decl_iterator<ObjCIvarDecl>>;
1472 ObjCIvarDecl *all_declared_ivar_begin();
1473 const ObjCIvarDecl *all_declared_ivar_begin() const { in all_declared_ivar_begin()
[all …]
H A DExprObjC.h548 ObjCIvarDecl *D;
564 ObjCIvarRefExpr(ObjCIvarDecl *d, QualType t, SourceLocation l,
577 ObjCIvarDecl *getDecl() { return D; } in getDecl()
578 const ObjCIvarDecl *getDecl() const { return D; } in getDecl()
579 void setDecl(ObjCIvarDecl *d) { D = d; } in setDecl()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DDeclObjC.cpp77 ObjCIvarDecl *
82 if (auto *ivar = dyn_cast<ObjCIvarDecl>(*Ivar)) in getIvarDecl()
634 ObjCIvarDecl *ObjCInterfaceDecl::lookupInstanceVariable(IdentifierInfo *ID, in lookupInstanceVariable()
645 if (ObjCIvarDecl *I = ClassDecl->getIvarDecl(ID)) { in lookupInstanceVariable()
651 if (ObjCIvarDecl *I = Ext->getIvarDecl(ID)) { in lookupInstanceVariable()
1647 ObjCIvarDecl *Ivar;
1649 SynthesizeIvarChunk(uint64_t size, ObjCIvarDecl *ivar) in SynthesizeIvarChunk()
1669 ObjCIvarDecl *ObjCInterfaceDecl::all_declared_ivar_begin() { in all_declared_ivar_begin()
1674 ObjCIvarDecl *curIvar = nullptr; in all_declared_ivar_begin()
1828 void ObjCIvarDecl::anchor() {} in anchor()
[all …]
/freebsd/contrib/llvm-project/clang/lib/InstallAPI/
H A DFrontend.cpp62 const clang::ObjCIvarDecl::AccessControl AC) { in addObjCIVar()
66 ((AC == ObjCIvarDecl::Private) || (AC == ObjCIvarDecl::Package))) in addObjCIVar()
/freebsd/contrib/llvm-project/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()
746 static const ObjCIvarDecl *findBackingIvar(const ObjCPropertyDecl *Prop) { in findBackingIvar()
747 const ObjCIvarDecl *IVar = Prop->getPropertyIvarDecl(); in findBackingIvar()
788 const ObjCIvarDecl *IVar = nullptr; in createObjCPropertyGetter()
/freebsd/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteModernObjC.cpp149 llvm::SmallSetVector<ObjCIvarDecl *, 8> > ReferencedIvars;
153 llvm::DenseMap<const ObjCIvarDecl* , unsigned> IvarGroupNumber;
343 std::string getIvarAccessString(ObjCIvarDecl *D);
370 unsigned ObjCIvarBitfieldGroupNo(ObjCIvarDecl *IV);
372 void ObjCIvarBitfieldGroupDecl(ObjCIvarDecl *IV, std::string &Result);
374 void ObjCIvarBitfieldGroupType(ObjCIvarDecl *IV, std::string &Result);
376 void ObjCIvarBitfieldGroupOffset(ObjCIvarDecl *IV, std::string &Result);
378 QualType GetGroupRecordTypeForObjCIvarBitfield(ObjCIvarDecl *IV);
380 ObjCIvarDecl *IV,
381 SmallVectorImpl<ObjCIvarDecl *> &IVars);
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DStore.h41 class ObjCIvarDecl; variable
152 virtual SVal getLValueIvar(const ObjCIvarDecl *decl, SVal base);
H A DMemRegion.h1177 const ObjCIvarDecl *IVD;
1179 ObjCIvarRegion(const ObjCIvarDecl *ivd, const SubRegion *sReg);
1181 static void ProfileRegion(llvm::FoldingSetNodeID& ID, const ObjCIvarDecl *ivd,
1186 const ObjCIvarDecl *getDecl() const override;
1563 const ObjCIvarRegion *getObjCIvarRegion(const ObjCIvarDecl *ivd,
/freebsd/contrib/llvm-project/clang/include/clang/InstallAPI/
H A DFrontendRecords.h103 const clang::ObjCIvarDecl::AccessControl AC);
H A DVisitor.h74 DeclContext::specific_decl_iterator<ObjCIvarDecl>>
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaDeclObjC.cpp2146 ObjCIvarDecl **ivars, unsigned numIvars, in CheckImplementationIvars()
2181 ObjCIvarDecl* ImplIvar = ivars[i]; in CheckImplementationIvars()
2182 if (const ObjCIvarDecl *ClsIvar = in CheckImplementationIvars()
2190 if (const ObjCIvarDecl *ClsExtIvar = in CheckImplementationIvars()
2211 ObjCIvarDecl* ImplIvar = ivars[j++]; in CheckImplementationIvars()
2212 ObjCIvarDecl* ClsIvar = *IVI; in CheckImplementationIvars()
3778 ObjCIvarDecl* prevIvar = SID->lookupInstanceVariable(II); in DiagnoseDuplicateIvars()
3883 for (ObjCIvarDecl *ivar = IntfDecl->all_declared_ivar_begin(); ivar; in DiagnoseVariableSizedIvars()
3913 ObjCIvarDecl *FirstIvar = in DiagnoseVariableSizedIvars()
3922 const ObjCIvarDecl *LastIvar = *IvarIter; in DiagnoseVariableSizedIvars()
[all …]
H A DSemaObjCProperty.cpp709 ObjCIvarDecl *ivar) { in checkARCPropertyImpl()
736 ivar->getAccessControl() == ObjCIvarDecl::Private) { in checkARCPropertyImpl()
787 ObjCPropertyDecl *property, ObjCIvarDecl *ivar) { in setImpliedPropertyAttributeForReadOnlyProperty()
1184 ObjCIvarDecl *Ivar = nullptr; in ActOnPropertyImplDecl()
1263 ObjCIvarDecl *originalIvar = in ActOnPropertyImplDecl()
1310 Ivar = ObjCIvarDecl::Create(Context, ClassImpDecl, in ActOnPropertyImplDecl()
1313 ObjCIvarDecl::Private, in ActOnPropertyImplDecl()
1569 ObjCIvarDecl *Ivar = nullptr; in ActOnPropertyImplDecl()
1827 ObjCIvarDecl *IV) { in IvarBacksCurrentMethodAccessor()
H A DSemaExprMember.cpp1344 ObjCIvarDecl *IV = IDecl->lookupInstanceVariable(Member, ClassDeclared); in LookupMemberExpr()
1348 DeclFilterCCC<ObjCIvarDecl> Validator{}; in LookupMemberExpr()
1353 IV = Corrected.getCorrectionDeclAs<ObjCIvarDecl>(); in LookupMemberExpr()
1400 if (IV->getAccessControl() != ObjCIvarDecl::Public && in LookupMemberExpr()
1401 IV->getAccessControl() != ObjCIvarDecl::Package) { in LookupMemberExpr()
1420 if (IV->getAccessControl() == ObjCIvarDecl::Private) { in LookupMemberExpr()
/freebsd/contrib/llvm-project/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/
H A DAppleObjCDeclVendor.cpp491 clang::ObjCIvarDecl *ivar_decl = clang::ObjCIvarDecl::Create( in FinishDecl()
496 clang::ObjCIvarDecl::Public, nullptr, is_synthesized); in FinishDecl()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSemaObjC.h404 ObjCIvarDecl **Fields, unsigned nIvars,
504 SmallVectorImpl<ObjCIvarDecl *> &Ivars);
516 ObjCIvarDecl *
887 ExprResult BuildIvarRefExpr(Scope *S, SourceLocation Loc, ObjCIvarDecl *IV);
1009 ObjCMethodDecl *Method, ObjCIvarDecl *IV);
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DRawPtrRefMemberChecker.cpp31 mutable llvm::DenseSet<const ObjCIvarDecl *> IvarDeclsToIgnore;
152 const ObjCIvarDecl *Ivar) const { in visitIvarDecl()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DStore.cpp435 if (const auto *ID = dyn_cast<ObjCIvarDecl>(D)) in getLValueFieldOrIvar()
441 SVal StoreManager::getLValueIvar(const ObjCIvarDecl *decl, SVal base) { in getLValueIvar()

1234