Lines Matching defs:Ivar

917   ObjCIvarDecl *Ivar = nullptr;
927 Ivar = IDecl->lookupInstanceVariable(PropertyIvar, ClassDeclared);
942 setImpliedPropertyAttributeForReadOnlyProperty(property, Ivar);
972 << PropertyId << (Ivar == nullptr) << PropertyIvar
979 if (!Ivar) {
1029 Ivar = ObjCIvarDecl::Create(Context, ClassImpDecl,
1039 Ivar->setInvalidDecl();
1041 Ivar->setInvalidDecl();
1042 ClassImpDecl->addDecl(Ivar);
1043 IDecl->makeDeclVisibleInContext(Ivar);
1053 << property->getDeclName() << Ivar->getDeclName()
1055 Diag(Ivar->getLocation(), diag::note_previous_access_declaration)
1056 << Ivar << Ivar->getName();
1059 property->setPropertyIvarDecl(Ivar);
1061 QualType IvarType = Context.getCanonicalType(Ivar->getType());
1079 << Ivar->getDeclName() << IvarType;
1080 Diag(Ivar->getLocation(), diag::note_ivar_decl);
1094 << Ivar->getDeclName() << IvarType;
1095 Diag(Ivar->getLocation(), diag::note_ivar_decl);
1103 << property->getDeclName() << Ivar->getDeclName();
1104 Diag(Ivar->getLocation(), diag::note_ivar_decl);
1112 << property->getDeclName() << Ivar->getDeclName();
1117 checkARCPropertyImpl(*this, PropertyLoc, property, Ivar);
1129 Ivar, PropertyIvarLoc);
1137 Ivar->getType()->isRecordType()) {
1152 new (Context) ObjCIvarRefExpr(Ivar, Ivar->getType(), PropertyDiagLoc,
1153 Ivar->getLocation(),
1189 Ivar->getType()->isRecordType()) {
1202 new (Context) ObjCIvarRefExpr(Ivar, Ivar->getType(), PropertyDiagLoc,
1203 Ivar->getLocation(),
1256 ObjCIvarDecl *Ivar = nullptr;
1258 Ivar = IDecl->lookupInstanceVariable(PropertyId, ClassDeclared);
1261 Ivar = IDecl->lookupInstanceVariable(PropertyId, ClassDeclared);
1263 // Issue diagnostics only if Ivar belongs to current class.
1264 if (Ivar && Ivar->getSynthesize() &&
1266 Diag(Ivar->getLocation(), diag::err_undeclared_var_use)
1268 Ivar->setInvalidDecl();