Home
last modified time | relevance | path

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

123

/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)
Dgetcursor-preamble.m21 // CHECK: ObjCIvarDecl=aa:4:5
22 // CHECK: ObjCIvarDecl=var:5: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 (…
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)
Dcomplete-parameterized-classes.m54 // CHECK-CC2: ObjCIvarDecl:{ResultType MyClsB *}{TypedText myVar} (35)
65 // CHECK-CC5: ObjCIvarDecl:{ResultType __kindof NSObject *}{TypedText myVar} (35)
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)
Dc-index-api-loadTU-test.m79 // CHECK: c-index-api-loadTU-test.m:6:32: ObjCIvarDecl=myoutlet:6:32 (Definition) Extent=[6:3 - 6:4…
104 // CHECK: c-index-api-loadTU-test.m:35:9: ObjCIvarDecl=_anIVar:35:9 (Definition) Extent=[35:5 - 35:…
155 // CHECK: c-index-api-loadTU-test.m:63:15: ObjCIvarDecl=anOutlet:63:15 (Definition) Extent=[63:3 - …
158 // CHECK: c-index-api-loadTU-test.m:64:29: ObjCIvarDecl=anOutletCollection:64:29 (Definition) Exten…
Dlocal-symbols.m36 // CHECK: local-symbols.m:7:6: ObjCIvarDecl=x:7:6 (Definition) Extent=[7:3 - 7:7]
/external/clang/lib/StaticAnalyzer/Checkers/
DIvarInvalidationChecker.cpp61 const ObjCIvarDecl*> MethToIvarMapTy;
63 const ObjCIvarDecl*> PropToIvarMapTy;
64 typedef llvm::DenseMap<const ObjCIvarDecl*,
98 typedef llvm::DenseMap<const ObjCIvarDecl*, InvalidationInfo> IvarSet;
131 void markInvalidated(const ObjCIvarDecl *Iv);
189 static bool trackIvar(const ObjCIvarDecl *Iv, IvarSet &TrackedIvars,
190 const ObjCIvarDecl **FirstIvarDecl);
195 static const ObjCIvarDecl *findPropertyBackingIvar(
199 const ObjCIvarDecl **FirstIvarDecl);
203 const ObjCIvarDecl *IvarDecl,
[all …]
DDirectIvarAssignment.cpp56 typedef llvm::DenseMap<const ObjCIvarDecl*,
96 static const ObjCIvarDecl *findPropertyBackingIvar(const ObjCPropertyDecl *PD, in findPropertyBackingIvar()
100 ObjCIvarDecl *ID = PD->getPropertyIvarDecl(); in findPropertyBackingIvar()
129 const ObjCIvarDecl *ID = findPropertyBackingIvar(PD, InterD, in checkASTDecl()
176 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.cpp31 static bool scan_ivar_release(Stmt *S, ObjCIvarDecl *ID, in scan_ivar_release()
177 ObjCIvarDecl *ID = I->getPropertyIvarDecl(); in checkObjCDealloc()
/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
778 ObjCIvarDecl *getIvarDecl(IdentifierInfo *Id) const;
883 ObjCIvarDecl *IvarList;
1122 typedef specific_decl_iterator<ObjCIvarDecl> ivar_iterator;
1123 typedef llvm::iterator_range<specific_decl_iterator<ObjCIvarDecl>> ivar_range;
1147 ObjCIvarDecl *all_declared_ivar_begin();
1148 const ObjCIvarDecl *all_declared_ivar_begin() const { in all_declared_ivar_begin()
1153 void setIvarList(ObjCIvarDecl *ivar) { data().IvarList = ivar; } in setIvarList()
1491 ObjCIvarDecl *lookupInstanceVariable(IdentifierInfo *IVarName,
1493 ObjCIvarDecl *lookupInstanceVariable(IdentifierInfo *IVarName) { in lookupInstanceVariable()
[all …]
/external/clang/lib/AST/
DDeclObjC.cpp55 ObjCIvarDecl *
60 if (ObjCIvarDecl *ivar = dyn_cast<ObjCIvarDecl>(*Ivar)) in getIvarDecl()
563 ObjCIvarDecl *ObjCInterfaceDecl::lookupInstanceVariable(IdentifierInfo *ID, in lookupInstanceVariable()
574 if (ObjCIvarDecl *I = ClassDecl->getIvarDecl(ID)) { in lookupInstanceVariable()
580 if (ObjCIvarDecl *I = Ext->getIvarDecl(ID)) { in lookupInstanceVariable()
1467 ObjCIvarDecl *Ivar;
1468 SynthesizeIvarChunk(uint64_t size, ObjCIvarDecl *ivar) in SynthesizeIvarChunk()
1487 ObjCIvarDecl *ObjCInterfaceDecl::all_declared_ivar_begin() { in all_declared_ivar_begin()
1492 ObjCIvarDecl *curIvar = nullptr; in all_declared_ivar_begin()
1641 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()
389 const ObjCIvarDecl *IVar = Prop->getPropertyIvarDecl(); in createObjCPropertyGetter()
/external/clang/lib/Frontend/Rewrite/
DRewriteModernObjC.cpp150 llvm::SmallPtrSet<ObjCIvarDecl *, 8> > ReferencedIvars;
154 llvm::DenseMap<const ObjCIvarDecl* , unsigned> IvarGroupNumber;
345 std::string getIvarAccessString(ObjCIvarDecl *D);
373 unsigned ObjCIvarBitfieldGroupNo(ObjCIvarDecl *IV);
375 void ObjCIvarBitfieldGroupDecl(ObjCIvarDecl *IV, std::string &Result);
377 void ObjCIvarBitfieldGroupType(ObjCIvarDecl *IV, std::string &Result);
379 void ObjCIvarBitfieldGroupOffset(ObjCIvarDecl *IV, std::string &Result);
381 QualType GetGroupRecordTypeForObjCIvarBitfield(ObjCIvarDecl *IV);
383 ObjCIvarDecl *IV,
384 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/include/clang/StaticAnalyzer/Core/PathSensitive/
DStore.h27 class ObjCIvarDecl; variable
96 virtual SVal getLValueIvar(const ObjCIvarDecl *decl, SVal base);

123