Home
last modified time | relevance | path

Searched refs:Ivar (Results 1 – 25 of 39) sorted by relevance

12

/external/clang/lib/CodeGen/
DCGObjCRuntime.cpp32 const ObjCIvarDecl *Ivar) { in LookupFieldBitOffset() argument
33 const ObjCInterfaceDecl *Container = Ivar->getContainingInterface(); in LookupFieldBitOffset()
56 if (Ivar == IVD) in LookupFieldBitOffset()
67 const ObjCIvarDecl *Ivar) { in ComputeIvarBaseOffset() argument
68 return LookupFieldBitOffset(CGM, OID, nullptr, Ivar) / in ComputeIvarBaseOffset()
74 const ObjCIvarDecl *Ivar) { in ComputeIvarBaseOffset() argument
75 return LookupFieldBitOffset(CGM, OID->getClassInterface(), OID, Ivar) / in ComputeIvarBaseOffset()
82 const ObjCIvarDecl *Ivar) { in ComputeBitfieldBitOffset() argument
83 return LookupFieldBitOffset(CGM, ID, ID->getImplementation(), Ivar); in ComputeBitfieldBitOffset()
89 const ObjCIvarDecl *Ivar, in EmitValueForIvarAtOffset() argument
[all …]
DCGObjCRuntime.h80 const ObjCIvarDecl *Ivar);
83 const ObjCIvarDecl *Ivar);
88 const ObjCIvarDecl *Ivar,
265 const ObjCIvarDecl *Ivar,
269 const ObjCIvarDecl *Ivar) = 0;
303 const ObjCIvarDecl *Ivar);
DCGValue.h184 bool Ivar:1; variable
233 this->Ivar = this->ObjIsArray = this->NonGC = this->GlobalObjCRef = false;
264 bool isObjCIvar() const { return Ivar; } in isObjCIvar()
265 void setObjCIvar(bool Value) { Ivar = Value; } in setObjCIvar()
DCGObjCMac.cpp1260 llvm::Value *BaseValue, const ObjCIvarDecl *Ivar,
1264 const ObjCIvarDecl *Ivar) override;
1336 const ObjCIvarDecl *Ivar,
1397 const ObjCIvarDecl *Ivar);
1552 llvm::Value *BaseValue, const ObjCIvarDecl *Ivar,
1556 const ObjCIvarDecl *Ivar) override;
3535 llvm::Constant *Ivar[] = { in EmitIvarList() local
3541 Ivars.push_back(llvm::ConstantStruct::get(ObjCTypes.IvarTy, Ivar)); in EmitIvarList()
4485 const ObjCIvarDecl *Ivar, in EmitObjCValueForIvar() argument
4489 return EmitValueForIvarAtOffset(CGF, ID, BaseValue, Ivar, CVRQualifiers, in EmitObjCValueForIvar()
[all …]
DCGObjCGNU.cpp466 const ObjCIvarDecl *Ivar);
575 llvm::Value *BaseValue, const ObjCIvarDecl *Ivar,
579 const ObjCIvarDecl *Ivar) override;
2784 const ObjCIvarDecl *Ivar) { in ObjCIvarOffsetVariable() argument
2786 + '.' + Ivar->getNameAsString(); in ObjCIvarOffsetVariable()
2804 Offset = ComputeIvarBaseOffset(CGM, ID, Ivar); in ObjCIvarOffsetVariable()
2831 const ObjCIvarDecl *Ivar, in EmitObjCValueForIvar() argument
2835 return EmitValueForIvarAtOffset(CGF, ID, BaseValue, Ivar, CVRQualifiers, in EmitObjCValueForIvar()
2836 EmitIvarOffset(CGF, ID, Ivar)); in EmitObjCValueForIvar()
2857 const ObjCIvarDecl *Ivar) { in EmitIvarOffset() argument
[all …]
/external/clang/test/SemaObjCXX/
Divar-lookup.mm3 @interface Ivar interface
8 A *Ivar; field
15 int *ip = [Ivar method]; // Okay; calls A's method on the instance variable Ivar.
16 // Note that Objective-C calls Ivar's method.
/external/clang/lib/StaticAnalyzer/Checkers/
DObjCUnusedIVarsChecker.cpp115 for (const auto *Ivar : ID->ivars()) { in checkObjCUnusedIvar() local
121 if (Ivar->getAccessControl() != ObjCIvarDecl::Private || in checkObjCUnusedIvar()
122 Ivar->hasAttr<UnusedAttr>() || Ivar->hasAttr<IBOutletAttr>() || in checkObjCUnusedIvar()
123 Ivar->hasAttr<IBOutletCollectionAttr>() || in checkObjCUnusedIvar()
124 Ivar->isUnnamedBitfield()) in checkObjCUnusedIvar()
127 M[Ivar] = Unused; in checkObjCUnusedIvar()
/external/clang/lib/Sema/
DSemaObjCProperty.cpp1021 ObjCIvarDecl *Ivar = nullptr; in ActOnPropertyImplDecl() local
1031 Ivar = IDecl->lookupInstanceVariable(PropertyIvar, ClassDeclared); in ActOnPropertyImplDecl()
1046 setImpliedPropertyAttributeForReadOnlyProperty(property, Ivar); in ActOnPropertyImplDecl()
1070 if (!Ivar) { in ActOnPropertyImplDecl()
1107 << PropertyId << (Ivar == nullptr) << PropertyIvar in ActOnPropertyImplDecl()
1114 if (!Ivar) { in ActOnPropertyImplDecl()
1139 Ivar = ObjCIvarDecl::Create(Context, ClassImpDecl, in ActOnPropertyImplDecl()
1149 Ivar->setInvalidDecl(); in ActOnPropertyImplDecl()
1151 Ivar->setInvalidDecl(); in ActOnPropertyImplDecl()
1152 ClassImpDecl->addDecl(Ivar); in ActOnPropertyImplDecl()
[all …]
DSemaAccess.cpp1881 if (ObjCIvarDecl *Ivar = dyn_cast<ObjCIvarDecl>(Decl)) { in IsSimplyAccessible() local
1883 if (Ivar->getCanonicalAccessControl() == ObjCIvarDecl::Public || in IsSimplyAccessible()
1884 Ivar->getCanonicalAccessControl() == ObjCIvarDecl::Package) in IsSimplyAccessible()
1909 if (declaresSameEntity(ClassOfMethodDecl, Ivar->getContainingInterface())) in IsSimplyAccessible()
1913 if (Ivar->getCanonicalAccessControl() == ObjCIvarDecl::Private) in IsSimplyAccessible()
1916 return Ivar->getContainingInterface()->isSuperClassOf(ClassOfMethodDecl); in IsSimplyAccessible()
DSemaCodeComplete.cpp2095 } else if (const ObjCIvarDecl *Ivar = dyn_cast<ObjCIvarDecl>(ND)) { in AddResultTypeChunk() local
2097 T = Ivar->getUsageType(BaseType); in AddResultTypeChunk()
2099 T = Ivar->getType(); in AddResultTypeChunk()
6243 for (ObjCIvarDecl *Ivar = Class->all_declared_ivar_begin(); Ivar; in CodeCompleteObjCPropertySynthesizeIvar() local
6244 Ivar = Ivar->getNextIvar()) { in CodeCompleteObjCPropertySynthesizeIvar()
6245 Results.AddResult(Result(Ivar, Results.getBasePriority(Ivar), nullptr), in CodeCompleteObjCPropertySynthesizeIvar()
6250 if ((PropertyName == Ivar->getIdentifier() || in CodeCompleteObjCPropertySynthesizeIvar()
6251 NameWithPrefix == Ivar->getName() || in CodeCompleteObjCPropertySynthesizeIvar()
6252 NameWithSuffix == Ivar->getName())) { in CodeCompleteObjCPropertySynthesizeIvar()
6260 Results.data()[Results.size() - 1].Declaration == Ivar) in CodeCompleteObjCPropertySynthesizeIvar()
DSemaDeclObjC.cpp3646 for (auto *Ivar : ID->ivars()) { in DiagnoseDuplicateIvars() local
3647 if (Ivar->isInvalidDecl()) in DiagnoseDuplicateIvars()
3649 if (IdentifierInfo *II = Ivar->getIdentifier()) { in DiagnoseDuplicateIvars()
3652 Diag(Ivar->getLocation(), diag::err_duplicate_member) << II; in DiagnoseDuplicateIvars()
3654 Ivar->setInvalidDecl(); in DiagnoseDuplicateIvars()
DAnalysisBasedWarnings.cpp1322 Ivar in diagnoseRepeatedUseOfWeak() enumerator
1333 ObjectKind = Ivar; in diagnoseRepeatedUseOfWeak()
DSemaLookup.cpp1165 if (ObjCIvarDecl *Ivar = Class->lookupInstanceVariable( in CppLookupName() local
1168 if (NamedDecl *ND = R.getAcceptableDecl(Ivar)) { in CppLookupName()
4277 if (ObjCIvarDecl *Ivar = Class->lookupInstanceVariable(Name)) { in LookupPotentialTypoResult() local
4278 Res.addDecl(Ivar); in LookupPotentialTypoResult()
/external/clang/test/SemaObjC/
Divar-lookup.m20 @interface Ivar interface
25 A *Ivar; field
32 …int *ip = [Ivar method]; // expected-warning{{incompatible pointer types initializing 'int *' with…
Dobjc-independent-class-attribute.m17 …NSObject *__attribute__((objc_independent_class)) Ivar; // expected-warning {{'objc_independent_cl… field
/external/clang/lib/ARCMigrate/
DTransProperties.cpp287 ObjCIvarDecl *Ivar; member in __anonedb9077c0111::PropertiesRewriter::PlusOneAssign
289 PlusOneAssign(ObjCIvarDecl *D) : Ivar(D) {} in PlusOneAssign()
294 if (RE->getDecl() != Ivar) in VisitBinAssign()
/external/clang/include/clang/Index/
DUSRGeneration.h40 void generateUSRForObjCIvar(StringRef Ivar, raw_ostream &OS);
/external/clang/lib/AST/
DDeclObjC.cpp58 for (lookup_iterator Ivar = R.begin(), IvarEnd = R.end(); in getIvarDecl() local
59 Ivar != IvarEnd; ++Ivar) { in getIvarDecl()
60 if (ObjCIvarDecl *ivar = dyn_cast<ObjCIvarDecl>(*Ivar)) in getIvarDecl()
1501 ObjCIvarDecl *Ivar; member
1503 : Size(size), Ivar(ivar) {} in SynthesizeIvarChunk()
1577 data().IvarList = layout[0].Ivar; Ix++; in all_declared_ivar_begin()
1580 for ( ; Ix != EIx; curIvar = layout[Ix].Ivar, Ix++) in all_declared_ivar_begin()
1581 curIvar->setNextIvar(layout[Ix].Ivar); in all_declared_ivar_begin()
/external/clang/test/FixIt/
Dtypo.m126 @interface Ivar interface
142 // Test that we don't correct 'ivar' to 'Ivar' e
/external/clang/test/ASTMerge/Inputs/
Dinterface2.m13 // Ivar mismatch
Dinterface1.m13 // Ivar mismatch
/external/clang/lib/Index/
DUSRGeneration.cpp857 void clang::index::generateUSRForObjCIvar(StringRef Ivar, raw_ostream &OS) { in generateUSRForObjCIvar() argument
858 OS << '@' << Ivar; in generateUSRForObjCIvar()
/external/clang/include/clang/AST/
DDeclObjC.h874 void setPropertyIvarDecl(ObjCIvarDecl *Ivar) { in setPropertyIvarDecl() argument
875 PropertyIvarDecl = Ivar; in setPropertyIvarDecl()
2726 void setPropertyIvarDecl(ObjCIvarDecl *Ivar, in setPropertyIvarDecl() argument
2728 PropertyIvarDecl = Ivar; in setPropertyIvarDecl()
/external/protobuf/objectivec/Tests/
DGPBMessageTests.m161 // Test when destination does not have an Ivar (type is an object) but source
162 // has such Ivar.
163 // The result must has the Ivar which is same as the one in source.
/external/clang/test/Analysis/
Dmisc-ps.m9 typedef struct objc_ivar *Ivar; typedef
514 static NSNumber *test_ivar_offset(id self, SEL _cmd, Ivar inIvar) {

12