Home
last modified time | relevance | path

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

12345

/llvm-project-15.0.7/clang/test/Index/
H A 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 …]
H A 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)
H A Dgetcursor-preamble.m21 // CHECK: ObjCIvarDecl=aa:4:5
22 // CHECK: ObjCIvarDecl=var:5:7
H A 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 (…
H A Dcomplete-synthesized.m43 // CHECK: ObjCIvarDecl:{ResultType float}{TypedText _prop2} (35)
46 // CHECK: ObjCIvarDecl:{ResultType double}{TypedText _prop4} (35)
H A Davailability.mm51 // CHECK: ObjCIvarDecl=i0:3:7 (Definition) (macos, introduced=8.0)
52 // CHECK: ObjCIvarDecl=i1:4:7 (Definition) (macos, introduced=9.0)
H A Dcomplete-member-access.m54 // CHECK-CC2: ObjCIvarDecl:{ResultType int}{TypedText IVar} (35)
55 // CHECK-CC2: ObjCIvarDecl:{ResultType int}{TypedText SuperIVar} (37)
H A Dcomplete-parameterized-classes.m54 // CHECK-CC2: ObjCIvarDecl:{ResultType MyClsB *}{TypedText myVar} (35)
65 // CHECK-CC5: ObjCIvarDecl:{ResultType __kindof NSObject *}{TypedText myVar} (35)
H A 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)
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/
H A DIvarInvalidationChecker.cpp61 typedef llvm::DenseMap<const ObjCIvarDecl*,
127 void markInvalidated(const ObjCIvarDecl *Iv);
191 static const ObjCIvarDecl *findPropertyBackingIvar(
195 const ObjCIvarDecl **FirstIvarDecl);
199 const ObjCIvarDecl *IvarDecl,
290 const ObjCIvarDecl *I = cast<ObjCIvarDecl>(Iv->getCanonicalDecl()); in trackIvar()
304 const ObjCIvarDecl *IvarD = nullptr; in findPropertyBackingIvar()
323 const ObjCIvarDecl *Iv = I->first; in findPropertyBackingIvar()
365 const ObjCIvarDecl *FirstIvarDecl = nullptr; in visit()
552 reportIvarNeedsInvalidation(const ObjCIvarDecl *IvarD, in reportIvarNeedsInvalidation()
[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.cpp69 const ObjCIvarDecl **ID, in isSynthesizedRetainableProperty()
521 const ObjCIvarDecl *IvarDecl = IvarRegion->getDecl(); in diagnoseMissingReleases()
624 const ObjCIvarDecl *IvarDecl = IvarRegion->getDecl(); in findPropertyOnDeallocatingInstance()
887 const ObjCIvarDecl *IvarDecl; in getDeallocReleaseRequirement()
949 ObjCIvarDecl *PropIvarDecl = Prop->getPropertyIvarDecl(); in getValueReleasedByNillingOut()
1071 const ObjCIvarDecl *IvarDecl = PropImpl->getPropertyIvarDecl(); in isNibLoadedIvarWithoutRetain()
/llvm-project-15.0.7/clang/test/AST/
H A Dast-dump-decl.m31 // CHECK-NEXT: ObjCIvarDecl{{.*}} varDefault 'int' private
32 // CHECK-NEXT: ObjCIvarDecl{{.*}} varPrivate 'int' private
33 // CHECK-NEXT: ObjCIvarDecl{{.*}} varProtected 'int' protected
34 // CHECK-NEXT: ObjCIvarDecl{{.*}} varPublic 'int' public
35 // CHECK-NEXT: ObjCIvarDecl{{.*}} varPackage 'int' package
79 // CHECK-NEXT: ObjCIvarDecl{{.*}} i
138 // CHECK-NEXT: ObjCIvarDecl{{.*}} bar 'int' synthesize private
H A Dproperty-atomic-bool.m25 // CHECK: ObjCIvarDecl {{.*}} p '_Atomic(_Bool)' protected
31 // CHECK: ObjCIvarDecl {{.*}} p 'AtomicBool':'_Atomic(_Bool)' protected
/llvm-project-15.0.7/clang/include/clang/AST/
H A DDeclObjC.h54 class ObjCIvarDecl; variable
773 ObjCIvarDecl *PropertyIvarDecl = nullptr;
920 ObjCIvarDecl *getPropertyIvarDecl() const { in getPropertyIvarDecl()
1181 ObjCIvarDecl *IvarList = nullptr;
1460 ObjCIvarDecl *all_declared_ivar_begin();
1923 class ObjCIvarDecl : public FieldDecl {
1963 ObjCIvarDecl *getCanonicalDecl() override { in getCanonicalDecl()
1992 ObjCIvarDecl *NextIvar = nullptr;
2775 ObjCIvarDecl *PropertyIvarDecl;
2793 ObjCIvarDecl *ivarDecl, in ObjCPropertyImplDecl()
[all …]
/llvm-project-15.0.7/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.cpp32 const ObjCIvarDecl *Ivar) { in ComputeIvarBaseOffset()
39 const ObjCIvarDecl *Ivar) { in ComputeIvarBaseOffset()
48 const ObjCIvarDecl *Ivar) { in ComputeBitfieldBitOffset()
56 const ObjCIvarDecl *Ivar, in EmitValueForIvarAtOffset()
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/clang/lib/AST/
H A DDeclObjC.cpp79 ObjCIvarDecl *
84 if (auto *ivar = dyn_cast<ObjCIvarDecl>(*Ivar)) in getIvarDecl()
641 if (ObjCIvarDecl *I = ClassDecl->getIvarDecl(ID)) { in lookupInstanceVariable()
647 if (ObjCIvarDecl *I = Ext->getIvarDecl(ID)) { in lookupInstanceVariable()
1621 ObjCIvarDecl *Ivar;
1623 SynthesizeIvarChunk(uint64_t size, ObjCIvarDecl *ivar) in SynthesizeIvarChunk()
1648 ObjCIvarDecl *curIvar = nullptr; in all_declared_ivar_begin()
1802 void ObjCIvarDecl::anchor() {} in anchor()
1804 ObjCIvarDecl *ObjCIvarDecl::Create(ASTContext &C, ObjCContainerDecl *DC, in Create()
1840 ObjCIvarDecl *ObjCIvarDecl::CreateDeserialized(ASTContext &C, unsigned ID) { in CreateDeserialized()
[all …]
/llvm-project-15.0.7/clang/test/Misc/
H A Dpragma-attribute-objc.m18 // CHECK-LABEL: ObjCIvarDecl{{.*}} testIvar1
57 // CHECK-LABEL: ObjCIvarDecl{{.*}} testIvar2
83 // CHECK-LABEL: ObjCIvarDecl{{.*}}_testProp1
/llvm-project-15.0.7/clang-tools-extra/clangd/refactor/tweaks/
H A DObjCMemberwiseInitializer.cpp77 MethodParameter(const ObjCIvarDecl &ID) { in MethodParameter()
94 if (const auto *ID = dyn_cast<ObjCIvarDecl>(&D)) in parameterFor()
223 } else if (isa<ObjCPropertyDecl, ObjCIvarDecl>(D)) { in REGISTER_TWEAK()
/llvm-project-15.0.7/clang/lib/Analysis/
H A DBodyFarm.cpp97 ObjCIvarRefExpr *makeObjCIvarRef(const Expr *Base, const ObjCIvarDecl *IVar);
207 const ObjCIvarDecl *IVar) { in makeObjCIvarRef()
208 return new (C) ObjCIvarRefExpr(const_cast<ObjCIvarDecl*>(IVar), in makeObjCIvarRef()
744 static const ObjCIvarDecl *findBackingIvar(const ObjCPropertyDecl *Prop) { in findBackingIvar()
745 const ObjCIvarDecl *IVar = Prop->getPropertyIvarDecl(); in findBackingIvar()
786 const ObjCIvarDecl *IVar = nullptr; in createObjCPropertyGetter()
/llvm-project-15.0.7/clang/lib/Frontend/Rewrite/
H A DRewriteModernObjC.cpp3790 ObjCIvarDecl *Ivar = IVars[i]; in SynthesizeBitfieldGroupStructType()
3808 SmallVector<ObjCIvarDecl *, 8> IVars; in GetGroupRecordTypeForObjCIvarBitfield()
3882 SmallVector<ObjCIvarDecl *, 8> IVars; in RewriteObjCInternalStruct()
3912 ObjCIvarDecl *IV = IVars[i]; in RewriteObjCInternalStruct()
3932 ObjCIvarDecl *IV = IVars[i]; in RewriteObjCInternalStruct()
3963 for (ObjCIvarDecl *IvarDecl : Ivars) { in RewriteIvarOffsetSymbols()
6739 ObjCIvarDecl *IvarDecl = Ivars[i]; in Write_IvarOffsetVar()
6771 SmallVector<ObjCIvarDecl *, 8> Ivars; in Write__ivar_list_t_initializer()
6793 ObjCIvarDecl *IvarDecl = Ivars[i]; in Write__ivar_list_t_initializer()
7011 SmallVector<ObjCIvarDecl *, 8> IVars; in RewriteObjCClassMetaData()
[all …]
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/darwin/
H A DDispatchOnceNonstaticCheck.cpp53 if (const auto *D = Result.Nodes.getNodeAs<ObjCIvarDecl>("ivar")) { in check()

12345