Lines Matching defs:ivars
2136 ObjCIvarDecl **ivars, unsigned numIvars,
2150 ivars[i]->setLexicalDeclContext(ImpDecl);
2156 IDecl->makeDeclVisibleInContext(ivars[i]);
2157 ImpDecl->addDecl(ivars[i]);
2166 assert(ivars && "missing @implementation ivars");
2171 ObjCIvarDecl* ImplIvar = ivars[i];
2178 // Check class extensions (unnamed categories) for duplicate ivars.
2201 ObjCIvarDecl* ImplIvar = ivars[j++];
2230 Diag(ivars[j]->getLocation(), diag::err_inconsistent_ivar_count);
2286 /// ivars of B and all of the methods of B.
3759 /// Check for duplicate ivars in the entire class at the start of
3761 /// add ivars to a class in random order which will not be known until
3765 for (auto *Ivar : ID->ivars()) {
3779 /// Diagnose attempts to define ARC-__weak ivars when __weak is disabled.
3848 Ivars = IntfDecl->ivars();
3851 Ivars = ImplDecl->ivars();
3855 Ivars = CategoryDecl->ivars();
3901 // Check if ObjC container adds ivars after variable sized ivar in superclass.
3902 // Perform the check only if OCD is the first container to declare ivars to
5253 /// CollectIvarsToConstructOrDestruct - Collect those ivars which require
5498 SmallVector<ObjCIvarDecl *, 8> ivars;
5499 CollectIvarsToConstructOrDestruct(OID, ivars);
5500 if (ivars.empty())
5503 for (unsigned i = 0; i < ivars.size(); i++) {
5504 FieldDecl *Field = ivars[i];
5659 // In ARC, infer 'retaining' for ivars of retainable type.