Home
last modified time | relevance | path

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

123

/freebsd-10-stable/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/
DIvarInvalidationChecker.cpp58 const ObjCIvarDecl*> MethToIvarMapTy;
60 const ObjCIvarDecl*> PropToIvarMapTy;
61 typedef llvm::DenseMap<const ObjCIvarDecl*,
95 typedef llvm::DenseMap<const ObjCIvarDecl*, InvalidationInfo> IvarSet;
128 void markInvalidated(const ObjCIvarDecl *Iv);
186 static bool trackIvar(const ObjCIvarDecl *Iv, IvarSet &TrackedIvars,
187 const ObjCIvarDecl **FirstIvarDecl);
192 static const ObjCIvarDecl *findPropertyBackingIvar(
196 const ObjCIvarDecl **FirstIvarDecl);
200 const ObjCIvarDecl *IvarDecl,
[all …]
DDirectIvarAssignment.cpp56 typedef llvm::DenseMap<const ObjCIvarDecl*,
94 static const ObjCIvarDecl *findPropertyBackingIvar(const ObjCPropertyDecl *PD, in findPropertyBackingIvar()
98 ObjCIvarDecl *ID = PD->getPropertyIvarDecl(); in findPropertyBackingIvar()
130 const ObjCIvarDecl *ID = findPropertyBackingIvar(PD, InterD, in checkASTDecl()
183 if (const ObjCIvarDecl *D = IvarRef->getDecl()) { in VisitBinaryOperator()
DObjCUnusedIVarsChecker.cpp31 typedef llvm::DenseMap<const ObjCIvarDecl*,IVarState> IvarUsageMap;
38 const ObjCIvarDecl *D = Ex->getDecl(); in Scan()
68 const ObjCIvarDecl *ID = D->getPropertyIvarDecl(); in Scan()
123 const ObjCIvarDecl *ID = *I; in checkObjCUnusedIvar()
130 if (ID->getAccessControl() != ObjCIvarDecl::Private || in checkObjCUnusedIvar()
DCheckObjCDealloc.cpp52 static bool scan_ivar_release(Stmt *S, ObjCIvarDecl *ID, in scan_ivar_release()
118 ObjCIvarDecl *ID = *I; in checkObjCDealloc()
222 ObjCIvarDecl *ID = I->getPropertyIvarDecl(); in checkObjCDealloc()
/freebsd-10-stable/contrib/llvm/tools/clang/lib/CodeGen/
DCGObjCRuntime.h51 class ObjCIvarDecl; variable
80 const ObjCIvarDecl *Ivar);
83 const ObjCIvarDecl *Ivar);
88 const ObjCIvarDecl *Ivar,
256 const ObjCIvarDecl *Ivar,
260 const ObjCIvarDecl *Ivar) = 0;
290 const ObjCIvarDecl *Ivar);
DCGObjCRuntime.cpp32 const ObjCIvarDecl *Ivar) { in LookupFieldBitOffset()
54 for (const ObjCIvarDecl *IVD = Container->all_declared_ivar_begin(); in LookupFieldBitOffset()
67 const ObjCIvarDecl *Ivar) { in ComputeIvarBaseOffset()
74 const ObjCIvarDecl *Ivar) { in ComputeIvarBaseOffset()
82 const ObjCIvarDecl *Ivar) { in ComputeBitfieldBitOffset()
89 const ObjCIvarDecl *Ivar, in EmitValueForIvarAtOffset()
DCGObjC.cpp515 static void emitStructGetterCall(CodeGenFunction &CGF, ObjCIvarDecl *ivar, in emitStructGetterCall()
623 ObjCIvarDecl *ivar = propImpl->getPropertyIvarDecl(); in PropertyImplStrategy()
784 ObjCIvarDecl *ivar, in emitCPPObjectAtomicGetterCall()
825 ObjCIvarDecl *ivar = propImpl->getPropertyIvarDecl(); in generateObjCGetterBody()
836 ObjCIvarDecl *ivar = propImpl->getPropertyIvarDecl(); in generateObjCGetterBody()
976 ObjCIvarDecl *ivar) { in emitStructSetterCall()
1021 ObjCIvarDecl *ivar, in emitCPPObjectAtomicSetterCall()
1090 ObjCIvarDecl *ivar = propImpl->getPropertyIvarDecl(); in generateObjCSetterBody()
1285 const ObjCIvarDecl *ivar;
1289 DestroyIvar(llvm::Value *addr, const ObjCIvarDecl *ivar, in DestroyIvar()
[all …]
DCodeGenTypes.h44 class ObjCIvarDecl; variable
DCGObjCMac.cpp1262 const ObjCIvarDecl *Ivar,
1266 const ObjCIvarDecl *Ivar);
1338 const ObjCIvarDecl *Ivar,
1397 const ObjCIvarDecl *Ivar);
1438 const ObjCIvarDecl *IV) { in IsIvarOffsetKnownIdempotent()
1559 const ObjCIvarDecl *Ivar,
1563 const ObjCIvarDecl *Ivar);
3319 for (const ObjCIvarDecl *IVD = OID->all_declared_ivar_begin(); in EmitIvarList()
4268 const ObjCIvarDecl *Ivar, in EmitObjCValueForIvar()
4278 const ObjCIvarDecl *Ivar) { in EmitIvarOffset()
[all …]
/freebsd-10-stable/contrib/llvm/tools/clang/include/clang/AST/
DDeclObjC.h27 class ObjCIvarDecl; variable
550 ObjCIvarDecl *getIvarDecl(IdentifierInfo *Id) const;
654 ObjCIvarDecl *IvarList;
826 typedef specific_decl_iterator<ObjCIvarDecl> ivar_iterator;
849 ObjCIvarDecl *all_declared_ivar_begin();
850 const ObjCIvarDecl *all_declared_ivar_begin() const { in all_declared_ivar_begin()
855 void setIvarList(ObjCIvarDecl *ivar) { data().IvarList = ivar; } in setIvarList()
1132 ObjCIvarDecl *lookupInstanceVariable(IdentifierInfo *IVarName,
1134 ObjCIvarDecl *lookupInstanceVariable(IdentifierInfo *IVarName) { in lookupInstanceVariable()
1237 class ObjCIvarDecl : public FieldDecl {
[all …]
DExprObjC.h466 ObjCIvarDecl *D;
476 ObjCIvarRefExpr(ObjCIvarDecl *d, QualType t,
491 ObjCIvarDecl *getDecl() { return D; }
492 const ObjCIvarDecl *getDecl() const { return D; }
493 void setDecl(ObjCIvarDecl *d) { D = d; }
/freebsd-10-stable/contrib/llvm/tools/clang/lib/AST/
DDeclObjC.cpp55 ObjCIvarDecl *
60 if (ObjCIvarDecl *ivar = dyn_cast<ObjCIvarDecl>(*Ivar)) in getIvarDecl()
392 ObjCIvarDecl *ObjCInterfaceDecl::lookupInstanceVariable(IdentifierInfo *ID, in lookupInstanceVariable()
403 if (ObjCIvarDecl *I = ClassDecl->getIvarDecl(ID)) { in lookupInstanceVariable()
412 if (ObjCIvarDecl *I = Ext->getIvarDecl(ID)) { in lookupInstanceVariable()
1126 ObjCIvarDecl *Ivar;
1127 SynthesizeIvarChunk(uint64_t size, ObjCIvarDecl *ivar) in SynthesizeIvarChunk()
1146 ObjCIvarDecl *ObjCInterfaceDecl::all_declared_ivar_begin() { in all_declared_ivar_begin()
1151 ObjCIvarDecl *curIvar = 0; in all_declared_ivar_begin()
1189 ObjCIvarDecl *IV = *I; in all_declared_ivar_begin()
[all …]
DASTDumper.cpp250 void VisitObjCIvarDecl(const ObjCIvarDecl *D);
1250 void ASTDumper::VisitObjCIvarDecl(const ObjCIvarDecl *D) { in VisitObjCIvarDecl()
1259 case ObjCIvarDecl::None: in VisitObjCIvarDecl()
1262 case ObjCIvarDecl::Private: in VisitObjCIvarDecl()
1265 case ObjCIvarDecl::Protected: in VisitObjCIvarDecl()
1268 case ObjCIvarDecl::Public: in VisitObjCIvarDecl()
1271 case ObjCIvarDecl::Package: in VisitObjCIvarDecl()
/freebsd-10-stable/contrib/llvm/tools/clang/lib/ARCMigrate/
DTransProperties.cpp61 ObjCIvarDecl *IvarD;
111 ObjCIvarDecl *ivarD = implD->getPropertyIvarDecl(); in doTransform()
310 ObjCIvarDecl *Ivar;
312 PlusOneAssign(ObjCIvarDecl *D) : Ivar(D) {} in PlusOneAssign()
373 bool isUserDeclared(ObjCIvarDecl *ivarD) const { in isUserDeclared()
DTransZeroOutPropsInDealloc.cpp173 ObjCIvarDecl *IVDecl = IV->getDecl(); in isZeroingPropIvar()
/freebsd-10-stable/contrib/llvm/tools/clang/lib/Rewrite/Frontend/
DRewriteModernObjC.cpp148 llvm::SmallPtrSet<ObjCIvarDecl *, 8> > ReferencedIvars;
152 llvm::DenseMap<const ObjCIvarDecl* , unsigned> IvarGroupNumber;
353 std::string getIvarAccessString(ObjCIvarDecl *D);
381 unsigned ObjCIvarBitfieldGroupNo(ObjCIvarDecl *IV);
383 void ObjCIvarBitfieldGroupDecl(ObjCIvarDecl *IV, std::string &Result);
385 void ObjCIvarBitfieldGroupType(ObjCIvarDecl *IV, std::string &Result);
387 void ObjCIvarBitfieldGroupOffset(ObjCIvarDecl *IV, std::string &Result);
389 QualType GetGroupRecordTypeForObjCIvarBitfield(ObjCIvarDecl *IV);
391 ObjCIvarDecl *IV,
392 SmallVectorImpl<ObjCIvarDecl *> &IVars);
[all …]
/freebsd-10-stable/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DStore.h27 class ObjCIvarDecl; variable
96 virtual SVal getLValueIvar(const ObjCIvarDecl *decl, SVal base);
DMemRegion.h967 ObjCIvarRegion(const ObjCIvarDecl *ivd, const MemRegion* sReg);
969 static void ProfileRegion(llvm::FoldingSetNodeID& ID, const ObjCIvarDecl *ivd,
973 const ObjCIvarDecl *getDecl() const;
1243 const ObjCIvarRegion *getObjCIvarRegion(const ObjCIvarDecl *ivd,
/freebsd-10-stable/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
DStore.cpp428 if (const ObjCIvarDecl *ID = dyn_cast<ObjCIvarDecl>(D)) in getLValueFieldOrIvar()
434 SVal StoreManager::getLValueIvar(const ObjCIvarDecl *decl, SVal base) { in getLValueIvar()
DMemRegion.cpp229 ObjCIvarRegion::ObjCIvarRegion(const ObjCIvarDecl *ivd, const MemRegion* sReg) in ObjCIvarRegion()
232 const ObjCIvarDecl *ObjCIvarRegion::getDecl() const { in getDecl()
233 return cast<ObjCIvarDecl>(D); in getDecl()
316 const ObjCIvarDecl *ivd, in ProfileRegion()
951 MemRegionManager::getObjCIvarRegion(const ObjCIvarDecl *d, in getObjCIvarRegion()
/freebsd-10-stable/contrib/llvm/tools/lldb/include/lldb/Core/
DClangForward.h85 class ObjCIvarDecl; variable
/freebsd-10-stable/contrib/llvm/tools/clang/lib/Sema/
DSemaObjCProperty.cpp659 ObjCIvarDecl *ivar) { in checkARCPropertyImpl()
684 ivar->getAccessControl() == ObjCIvarDecl::Private) { in checkARCPropertyImpl()
736 ObjCPropertyDecl *property, ObjCIvarDecl *ivar) { in setImpliedPropertyAttributeForReadOnlyProperty()
938 ObjCIvarDecl *Ivar = 0; in ActOnPropertyImplDecl()
987 ObjCIvarDecl *originalIvar = in ActOnPropertyImplDecl()
1050 Ivar = ObjCIvarDecl::Create(Context, ClassImpDecl, in ActOnPropertyImplDecl()
1053 ObjCIvarDecl::Private, in ActOnPropertyImplDecl()
1271 ObjCIvarDecl *Ivar = 0; in ActOnPropertyImplDecl()
1503 ObjCMethodDecl *Method, ObjCIvarDecl *IV) { in IvarBacksCurrentMethodAccessor()
DSemaDeclObjC.cpp1120 ObjCIvarDecl **ivars, unsigned numIvars, in CheckImplementationIvars()
1149 ObjCIvarDecl* ImplIvar = ivars[i]; in CheckImplementationIvars()
1150 if (const ObjCIvarDecl *ClsIvar = in CheckImplementationIvars()
1162 if (const ObjCIvarDecl *ClsExtIvar = in CheckImplementationIvars()
1183 ObjCIvarDecl* ImplIvar = ivars[j++]; in CheckImplementationIvars()
1184 ObjCIvarDecl* ClsIvar = *IVI; in CheckImplementationIvars()
2480 ObjCIvarDecl* Ivar = *IVI; in DiagnoseDuplicateIvars()
2484 ObjCIvarDecl* prevIvar = SID->lookupInstanceVariable(II); in DiagnoseDuplicateIvars()
3344 SmallVector<const ObjCIvarDecl*, 32> Ivars; in ActOnDefs()
3467 SmallVectorImpl<ObjCIvarDecl*> &Ivars) { in CollectIvarsToConstructOrDestruct()
[all …]
DSemaExprMember.cpp1273 ObjCIvarDecl *IV = IDecl->lookupInstanceVariable(Member, ClassDeclared); in LookupMemberExpr()
1277 DeclFilterCCC<ObjCIvarDecl> Validator; in LookupMemberExpr()
1282 IV = Corrected.getCorrectionDeclAs<ObjCIvarDecl>(); in LookupMemberExpr()
1320 if (IV->getAccessControl() != ObjCIvarDecl::Public && in LookupMemberExpr()
1321 IV->getAccessControl() != ObjCIvarDecl::Package) { in LookupMemberExpr()
1340 if (IV->getAccessControl() == ObjCIvarDecl::Private) { in LookupMemberExpr()
DSemaAccess.cpp1886 if (ObjCIvarDecl *Ivar = dyn_cast<ObjCIvarDecl>(Decl)) { in IsSimplyAccessible()
1888 if (Ivar->getCanonicalAccessControl() == ObjCIvarDecl::Public || in IsSimplyAccessible()
1889 Ivar->getCanonicalAccessControl() == ObjCIvarDecl::Package) in IsSimplyAccessible()
1918 if (Ivar->getCanonicalAccessControl() == ObjCIvarDecl::Private) in IsSimplyAccessible()

123