Lines Matching refs:Ivar

1183   ObjCIvarDecl *Ivar = nullptr;  in ActOnPropertyImplDecl()  local
1193 Ivar = IDecl->lookupInstanceVariable(PropertyIvar, ClassDeclared); in ActOnPropertyImplDecl()
1208 setImpliedPropertyAttributeForReadOnlyProperty(property, Ivar); in ActOnPropertyImplDecl()
1231 if (!Ivar) { in ActOnPropertyImplDecl()
1268 << PropertyId << (Ivar == nullptr) << PropertyIvar in ActOnPropertyImplDecl()
1275 if (!Ivar) { in ActOnPropertyImplDecl()
1300 Ivar = ObjCIvarDecl::Create(Context, ClassImpDecl, in ActOnPropertyImplDecl()
1321 Ivar->setInvalidDecl(); in ActOnPropertyImplDecl()
1322 ClassImpDecl->addDecl(Ivar); in ActOnPropertyImplDecl()
1323 IDecl->makeDeclVisibleInContext(Ivar); in ActOnPropertyImplDecl()
1333 << property->getDeclName() << Ivar->getDeclName() in ActOnPropertyImplDecl()
1335 Diag(Ivar->getLocation(), diag::note_previous_access_declaration) in ActOnPropertyImplDecl()
1336 << Ivar << Ivar->getName(); in ActOnPropertyImplDecl()
1339 property->setPropertyIvarDecl(Ivar); in ActOnPropertyImplDecl()
1341 QualType IvarType = Context.getCanonicalType(Ivar->getType()); in ActOnPropertyImplDecl()
1358 << Ivar->getDeclName() << IvarType; in ActOnPropertyImplDecl()
1359 Diag(Ivar->getLocation(), diag::note_ivar_decl); in ActOnPropertyImplDecl()
1373 << Ivar->getDeclName() << IvarType; in ActOnPropertyImplDecl()
1374 Diag(Ivar->getLocation(), diag::note_ivar_decl); in ActOnPropertyImplDecl()
1382 << property->getDeclName() << Ivar->getDeclName(); in ActOnPropertyImplDecl()
1383 Diag(Ivar->getLocation(), diag::note_ivar_decl); in ActOnPropertyImplDecl()
1391 << property->getDeclName() << Ivar->getDeclName(); in ActOnPropertyImplDecl()
1396 Ivar->getType().getObjCLifetime()) in ActOnPropertyImplDecl()
1397 checkARCPropertyImpl(SemaRef, PropertyLoc, property, Ivar); in ActOnPropertyImplDecl()
1407 Ivar, PropertyIvarLoc); in ActOnPropertyImplDecl()
1427 Ivar->getType()->isRecordType()) { in ActOnPropertyImplDecl()
1441 new (Context) ObjCIvarRefExpr(Ivar, in ActOnPropertyImplDecl()
1442 Ivar->getUsageType(SelfDecl->getType()), in ActOnPropertyImplDecl()
1444 Ivar->getLocation(), in ActOnPropertyImplDecl()
1491 Ivar->getType()->isRecordType()) { in ActOnPropertyImplDecl()
1503 new (Context) ObjCIvarRefExpr(Ivar, in ActOnPropertyImplDecl()
1504 Ivar->getUsageType(SelfDecl->getType()), in ActOnPropertyImplDecl()
1506 Ivar->getLocation(), in ActOnPropertyImplDecl()
1559 ObjCIvarDecl *Ivar = nullptr; in ActOnPropertyImplDecl() local
1561 Ivar = IDecl->lookupInstanceVariable(PropertyId, ClassDeclared); in ActOnPropertyImplDecl()
1564 Ivar = IDecl->lookupInstanceVariable(PropertyId, ClassDeclared); in ActOnPropertyImplDecl()
1567 if (Ivar && Ivar->getSynthesize() && in ActOnPropertyImplDecl()
1569 Diag(Ivar->getLocation(), diag::err_undeclared_var_use) in ActOnPropertyImplDecl()
1571 Ivar->setInvalidDecl(); in ActOnPropertyImplDecl()