Home
last modified time | relevance | path

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

1234

/external/clang/test/Index/
Dcomplete-ivar-access.m55 // CHECK-SUB: ObjCIvarDecl:{ResultType int}{TypedText sub_private} (35)
56 // CHECK-SUB: ObjCIvarDecl:{ResultType int}{TypedText sub_protected} (35)
57 // CHECK-SUB: ObjCIvarDecl:{ResultType int}{TypedText sub_public} (35)
58 // CHECK-SUB: ObjCIvarDecl:{ResultType int}{TypedText super_ext_private} (35) (inaccessible)
59 // CHECK-SUB: ObjCIvarDecl:{ResultType int}{TypedText super_ext_protected} (35)
60 // CHECK-SUB: ObjCIvarDecl:{ResultType int}{TypedText super_ext_public} (35)
61 // CHECK-SUB: ObjCIvarDecl:{ResultType int}{TypedText super_private} (37) (inaccessible)
62 // CHECK-SUB: ObjCIvarDecl:{ResultType int}{TypedText super_protected} (37)
63 // CHECK-SUB: ObjCIvarDecl:{ResultType int}{TypedText super_public} (37)
67 // CHECK-OTHER: ObjCIvarDecl:{ResultType int}{TypedText other_private} (35) (inaccessible)
[all …]
Dcomplete-properties.m71 // CHECK-CC3: ObjCIvarDecl:{ResultType id}{TypedText _Prop3} (36)
72 // CHECK-CC3: ObjCIvarDecl:{ResultType int}{TypedText RandomIVar} (35)
73 // CHECK-CC3: ObjCIvarDecl:{ResultType id}{TypedText StoredProp3} (8)
91 // CHECK-CC7-NOT: ObjCIvarDecl:{ResultType id}{TypedText _Prop2}
92 // CHECK-CC7: ObjCIvarDecl:{ResultType I4 *}{TypedText Prop1} (17)
93 // CHECK-CC7: ObjCIvarDecl:{ResultType id}{TypedText Prop2_} (7)
DIBOutletCollection.m19 // CHECK-TOK: Punctuation: "*" [4:33 - 4:34] ObjCIvarDecl=anOutletCollection:4:34 (Definition)
20 // CHECK-TOK: Identifier: "anOutletCollection" [4:34 - 4:52] ObjCIvarDecl=anOutletCollection:4:34 (…
Dgetcursor-preamble.m21 // CHECK: ObjCIvarDecl=aa:4:5
22 // CHECK: ObjCIvarDecl=var:5:7
Dcomplete-synthesized.m43 // CHECK: ObjCIvarDecl:{ResultType float}{TypedText _prop2} (35)
46 // CHECK: ObjCIvarDecl:{ResultType double}{TypedText _prop4} (35)
Dcomplete-member-access.m54 // CHECK-CC2: ObjCIvarDecl:{ResultType int}{TypedText IVar} (35)
55 // CHECK-CC2: ObjCIvarDecl:{ResultType int}{TypedText SuperIVar} (37)
Dannotate-tokens.m215 // CHECK: Identifier: "iVar" [17:13 - 17:17] ObjCIvarDecl=iVar:17:13 (Definition)
218 // CHECK: Identifier: "iVar1" [18:13 - 18:18] ObjCIvarDecl=iVar1:18:13 (Definition)
219 // CHECK: Punctuation: "," [18:18 - 18:19] ObjCIvarDecl=iVar2:18:20 (Definition)
220 // CHECK: Identifier: "iVar2" [18:20 - 18:25] ObjCIvarDecl=iVar2:18:20 (Definition)
327 // CHECK: Keyword: "char" [53:14 - 53:18] ObjCIvarDecl=anOutlet:53:21 (Definition)
328 // CHECK: Punctuation: "*" [53:19 - 53:20] ObjCIvarDecl=anOutlet:53:21 (Definition)
329 // CHECK: Identifier: "anOutlet" [53:21 - 53:29] ObjCIvarDecl=anOutlet:53:21 (Definition)
585 // CHECK-WITH-WEAK: Punctuation: "*" [141:14 - 141:15] ObjCIvarDecl=foo:141:15 (Definition)
586 // CHECK-WITH-WEAK: Identifier: "foo" [141:15 - 141:18] ObjCIvarDecl=foo:141:15 (Definition)
Dcomplete-parameterized-classes.m54 // CHECK-CC2: ObjCIvarDecl:{ResultType MyClsB *}{TypedText myVar} (35)
65 // CHECK-CC5: ObjCIvarDecl:{ResultType __kindof NSObject *}{TypedText myVar} (35)
/external/clang/lib/StaticAnalyzer/Checkers/
DIvarInvalidationChecker.cpp59 const ObjCIvarDecl*> MethToIvarMapTy;
61 const ObjCIvarDecl*> PropToIvarMapTy;
62 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.cpp55 typedef llvm::DenseMap<const ObjCIvarDecl*,
95 static const ObjCIvarDecl *findPropertyBackingIvar(const ObjCPropertyDecl *PD, in findPropertyBackingIvar()
99 ObjCIvarDecl *ID = PD->getPropertyIvarDecl(); in findPropertyBackingIvar()
128 const ObjCIvarDecl *ID = findPropertyBackingIvar(PD, InterD, in checkASTDecl()
175 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()
121 if (Ivar->getAccessControl() != ObjCIvarDecl::Private || in checkObjCUnusedIvar()
DCheckObjCDealloc.cpp69 const ObjCIvarDecl **ID, in isSynthesizedRetainableProperty()
528 const ObjCIvarDecl *IvarDecl = IvarRegion->getDecl(); in diagnoseMissingReleases()
632 const ObjCIvarDecl *IvarDecl = IvarRegion->getDecl(); in findPropertyOnDeallocatingInstance()
891 const ObjCIvarDecl *IvarDecl; in getDeallocReleaseRequirement()
950 ObjCIvarDecl *PropIvarDecl = Prop->getPropertyIvarDecl(); in getValueReleasedByNillingOut()
/external/clang/test/Misc/
Dast-dump-decl.m22 // CHECK-NEXT: ObjCIvarDecl{{.*}} varDefault 'int' private
23 // CHECK-NEXT: ObjCIvarDecl{{.*}} varPrivate 'int' private
24 // CHECK-NEXT: ObjCIvarDecl{{.*}} varProtected 'int' protected
25 // CHECK-NEXT: ObjCIvarDecl{{.*}} varPublic 'int' public
26 // CHECK-NEXT: ObjCIvarDecl{{.*}} varPackage 'int' package
72 // CHECK-NEXT: ObjCIvarDecl{{.*}} i
123 // CHECK-NEXT: ObjCIvarDecl{{.*}} bar 'int' synthesize private
Dast-dump-decl.mm22 // CHECK-NEXT: ObjCIvarDecl{{.*}} X
/external/clang/lib/CodeGen/
DCGObjCRuntime.h51 class ObjCIvarDecl; variable
80 const ObjCIvarDecl *Ivar);
83 const ObjCIvarDecl *Ivar);
88 const ObjCIvarDecl *Ivar,
265 const ObjCIvarDecl *Ivar,
269 const ObjCIvarDecl *Ivar) = 0;
303 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()
/external/clang/include/clang/AST/
DDeclObjC.h27 class ObjCIvarDecl; variable
746 ObjCIvarDecl *PropertyIvarDecl; // Synthesize ivar for this property
874 void setPropertyIvarDecl(ObjCIvarDecl *Ivar) { in setPropertyIvarDecl()
877 ObjCIvarDecl *getPropertyIvarDecl() const { in getPropertyIvarDecl()
1015 ObjCIvarDecl *getIvarDecl(IdentifierInfo *Id) const;
1123 ObjCIvarDecl *IvarList;
1362 typedef specific_decl_iterator<ObjCIvarDecl> ivar_iterator;
1363 typedef llvm::iterator_range<specific_decl_iterator<ObjCIvarDecl>> ivar_range;
1387 ObjCIvarDecl *all_declared_ivar_begin();
1388 const ObjCIvarDecl *all_declared_ivar_begin() const { in all_declared_ivar_begin()
[all …]
/external/clang/lib/AST/
DDeclObjC.cpp55 ObjCIvarDecl *
60 if (ObjCIvarDecl *ivar = dyn_cast<ObjCIvarDecl>(*Ivar)) in getIvarDecl()
591 ObjCIvarDecl *ObjCInterfaceDecl::lookupInstanceVariable(IdentifierInfo *ID, in lookupInstanceVariable()
602 if (ObjCIvarDecl *I = ClassDecl->getIvarDecl(ID)) { in lookupInstanceVariable()
608 if (ObjCIvarDecl *I = Ext->getIvarDecl(ID)) { in lookupInstanceVariable()
1501 ObjCIvarDecl *Ivar;
1502 SynthesizeIvarChunk(uint64_t size, ObjCIvarDecl *ivar) in SynthesizeIvarChunk()
1521 ObjCIvarDecl *ObjCInterfaceDecl::all_declared_ivar_begin() { in all_declared_ivar_begin()
1526 ObjCIvarDecl *curIvar = nullptr; in all_declared_ivar_begin()
1675 void ObjCIvarDecl::anchor() { } in anchor()
[all …]
/external/clang/lib/ARCMigrate/
DTransProperties.cpp61 ObjCIvarDecl *IvarD;
114 ObjCIvarDecl *ivarD = implD->getPropertyIvarDecl(); in doTransform()
287 ObjCIvarDecl *Ivar;
289 PlusOneAssign(ObjCIvarDecl *D) : Ivar(D) {} in PlusOneAssign()
342 bool isUserDeclared(ObjCIvarDecl *ivarD) const { in isUserDeclared()
/external/clang/lib/Analysis/
DBodyFarm.cpp76 ObjCIvarRefExpr *makeObjCIvarRef(const Expr *Base, const ObjCIvarDecl *IVar);
151 const ObjCIvarDecl *IVar) { in makeObjCIvarRef()
152 return new (C) ObjCIvarRefExpr(const_cast<ObjCIvarDecl*>(IVar), in makeObjCIvarRef()
386 static const ObjCIvarDecl *findBackingIvar(const ObjCPropertyDecl *Prop) { in findBackingIvar()
387 const ObjCIvarDecl *IVar = Prop->getPropertyIvarDecl(); in findBackingIvar()
428 const ObjCIvarDecl *IVar = findBackingIvar(Prop); in createObjCPropertyGetter()
/external/clang/test/SemaObjC/
Dproperty-atomic-bool.m17 // CHECK: ObjCIvarDecl {{.*}} p '_Atomic(_Bool)' protected
23 // CHECK: ObjCIvarDecl {{.*}} p 'AtomicBool':'_Atomic(_Bool)' protected
/external/clang/lib/Frontend/Rewrite/
DRewriteModernObjC.cpp149 llvm::SmallPtrSet<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 …]
/external/clang/lib/StaticAnalyzer/Core/
DStore.cpp417 if (const ObjCIvarDecl *ID = dyn_cast<ObjCIvarDecl>(D)) in getLValueFieldOrIvar()
423 SVal StoreManager::getLValueIvar(const ObjCIvarDecl *decl, SVal base) { in getLValueIvar()
/external/clang/lib/Index/
DIndexDecl.cpp154 bool VisitObjCIvarDecl(const ObjCIvarDecl *D) { in VisitObjCIvarDecl()
264 if (!isa<ObjCIvarDecl>(I)) in VisitObjCImplementationDecl()
324 if (ObjCIvarDecl *IvarD = D->getPropertyIvarDecl()) { in VisitObjCPropertyImplDecl()
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DStore.h27 class ObjCIvarDecl; variable
96 virtual SVal getLValueIvar(const ObjCIvarDecl *decl, SVal base);

1234