Lines Matching refs:Ivar

1201   ObjCIvarDecl *Ivar = nullptr;  in ActOnPropertyImplDecl()  local
1211 Ivar = IDecl->lookupInstanceVariable(PropertyIvar, ClassDeclared); in ActOnPropertyImplDecl()
1226 setImpliedPropertyAttributeForReadOnlyProperty(property, Ivar); in ActOnPropertyImplDecl()
1249 if (!Ivar) { in ActOnPropertyImplDecl()
1286 << PropertyId << (Ivar == nullptr) << PropertyIvar in ActOnPropertyImplDecl()
1293 if (!Ivar) { in ActOnPropertyImplDecl()
1318 Ivar = ObjCIvarDecl::Create(Context, ClassImpDecl, in ActOnPropertyImplDecl()
1340 Ivar->setInvalidDecl(); in ActOnPropertyImplDecl()
1341 ClassImpDecl->addDecl(Ivar); in ActOnPropertyImplDecl()
1342 IDecl->makeDeclVisibleInContext(Ivar); in ActOnPropertyImplDecl()
1352 << property->getDeclName() << Ivar->getDeclName() in ActOnPropertyImplDecl()
1354 Diag(Ivar->getLocation(), diag::note_previous_access_declaration) in ActOnPropertyImplDecl()
1355 << Ivar << Ivar->getName(); in ActOnPropertyImplDecl()
1358 property->setPropertyIvarDecl(Ivar); in ActOnPropertyImplDecl()
1360 QualType IvarType = Context.getCanonicalType(Ivar->getType()); in ActOnPropertyImplDecl()
1378 << Ivar->getDeclName() << IvarType; in ActOnPropertyImplDecl()
1379 Diag(Ivar->getLocation(), diag::note_ivar_decl); in ActOnPropertyImplDecl()
1393 << Ivar->getDeclName() << IvarType; in ActOnPropertyImplDecl()
1394 Diag(Ivar->getLocation(), diag::note_ivar_decl); in ActOnPropertyImplDecl()
1402 << property->getDeclName() << Ivar->getDeclName(); in ActOnPropertyImplDecl()
1403 Diag(Ivar->getLocation(), diag::note_ivar_decl); in ActOnPropertyImplDecl()
1411 << property->getDeclName() << Ivar->getDeclName(); in ActOnPropertyImplDecl()
1416 Ivar->getType().getObjCLifetime()) in ActOnPropertyImplDecl()
1417 checkARCPropertyImpl(*this, PropertyLoc, property, Ivar); in ActOnPropertyImplDecl()
1429 Ivar, PropertyIvarLoc); in ActOnPropertyImplDecl()
1449 Ivar->getType()->isRecordType()) { in ActOnPropertyImplDecl()
1463 new (Context) ObjCIvarRefExpr(Ivar, in ActOnPropertyImplDecl()
1464 Ivar->getUsageType(SelfDecl->getType()), in ActOnPropertyImplDecl()
1466 Ivar->getLocation(), in ActOnPropertyImplDecl()
1513 Ivar->getType()->isRecordType()) { in ActOnPropertyImplDecl()
1525 new (Context) ObjCIvarRefExpr(Ivar, in ActOnPropertyImplDecl()
1526 Ivar->getUsageType(SelfDecl->getType()), in ActOnPropertyImplDecl()
1528 Ivar->getLocation(), in ActOnPropertyImplDecl()
1581 ObjCIvarDecl *Ivar = nullptr; in ActOnPropertyImplDecl() local
1583 Ivar = IDecl->lookupInstanceVariable(PropertyId, ClassDeclared); in ActOnPropertyImplDecl()
1586 Ivar = IDecl->lookupInstanceVariable(PropertyId, ClassDeclared); in ActOnPropertyImplDecl()
1589 if (Ivar && Ivar->getSynthesize() && in ActOnPropertyImplDecl()
1591 Diag(Ivar->getLocation(), diag::err_undeclared_var_use) in ActOnPropertyImplDecl()
1593 Ivar->setInvalidDecl(); in ActOnPropertyImplDecl()