Lines Matching defs:ivars
2137 ObjCIvarDecl **ivars, unsigned numIvars,
2151 ivars[i]->setLexicalDeclContext(ImpDecl);
2157 IDecl->makeDeclVisibleInContext(ivars[i]);
2158 ImpDecl->addDecl(ivars[i]);
2167 assert(ivars && "missing @implementation ivars");
2172 ObjCIvarDecl* ImplIvar = ivars[i];
2179 // Check class extensions (unnamed categories) for duplicate ivars.
2202 ObjCIvarDecl* ImplIvar = ivars[j++];
2232 Diag(ivars[j]->getLocation(), diag::err_inconsistent_ivar_count);
2288 /// ivars of B and all of the methods of B.
3766 /// Check for duplicate ivars in the entire class at the start of
3768 /// add ivars to a class in random order which will not be known until
3772 for (auto *Ivar : ID->ivars()) {
3786 /// Diagnose attempts to define ARC-__weak ivars when __weak is disabled.
3855 Ivars = IntfDecl->ivars();
3858 Ivars = ImplDecl->ivars();
3862 Ivars = CategoryDecl->ivars();
3908 // Check if ObjC container adds ivars after variable sized ivar in superclass.
3909 // Perform the check only if OCD is the first container to declare ivars to
5258 /// CollectIvarsToConstructOrDestruct - Collect those ivars which require
5504 SmallVector<ObjCIvarDecl *, 8> ivars;
5505 CollectIvarsToConstructOrDestruct(OID, ivars);
5506 if (ivars.empty())
5509 for (unsigned i = 0; i < ivars.size(); i++) {
5510 FieldDecl *Field = ivars[i];
5666 // In ARC, infer 'retaining' for ivars of retainable type.