Home | History | Annotate | Download | only in AST

Lines Matching defs:Class

66 // Get the local instance/class method declared in this interface.
78 // Since instance & class methods can have the same name, the loop below
97 /// method was found in the class, its protocols, its super classes or categories.
113 // Also look into categories, including class extensions, looking
145 // And in its super class.
237 // Finally, check the super class.
260 /// with name 'PropertyId' in the primary class; including those in protocols
261 /// (direct or indirect) used by the primary class.
299 // Note, the properties declared only in class extensions are still copied
301 // explicitly, have to search class extension properties.
305 const ObjCInterfaceDecl *Class = this;
306 while (Class) {
307 if (Class->hasAttr<ArcWeakrefUnavailableAttr>())
309 Class = Class->getSuperClass();
315 const ObjCInterfaceDecl *Class = this;
316 while (Class) {
317 if (Class->hasAttr<ObjCRequiresPropertyDefsAttr>())
318 return Class;
319 Class = Class->getSuperClass();
337 // Check for duplicate protocol in class's protocol list.
339 // class or its extension are very few.
353 // Do we want to warn on a protocol in extension class which
354 // already exist in the class? Probably not.
362 // Merge ProtocolRefs into class's protocol list;
372 assert(!hasDefinition() && "ObjC class already has a definition");
424 /// class whose name is passed as argument. If it is not one of the super classes
455 /// lookupMethod - This method returns an instance/class method by looking in
456 /// the class, its categories, and its super classes (using a linear search).
510 // Will search "local" class/category implementations for a method decl.
511 // If failed, then we search in class's root for an instance method.
528 // Look through local category implementations associated with the class.
539 // with the root class.
737 // alloc/copy/new have a conventional meaning for both class and
829 // 'self' is always const in class methods.
876 // are at the super class level.
1012 // If container is class extension, find its primary class.
1092 assert(data().ExternallyCompleted && "Class is not externally completed");
1100 "Class can't be externally completed without an external source");
1137 /// all_declared_ivar_begin - return first ivar declared in this class,
1219 /// categories for this class and returns it. Name of the category is passed
1270 /// has been implemented in IDecl class, its super class or categories (if
1279 // 1st, look up the class.
1308 // 3rd, look up the super class(s)
1331 // properties), and class extensions (via direct declaration, or synthesized
1337 // but unfortunately we sometimes place ivars into non-class extension
1343 // Once a new ivar is created in any of class/class-extension/implementation
1374 // Ivars can only appear in class extension categories.
1459 // lookupMethod - Lookup a instance/class method in the protocol and protocols
1557 // Link this category into its class's category list.
1613 // The class interface might be NULL if we are working with invalid code.