Lines Matching defs:Class
37 class RewriteModernObjC : public ASTConsumer {
154 // This container maps an <class, group number for ivar> tuple to the type
171 class DisableReplaceStmtScope {
191 if (ObjCInterfaceDecl *Class = dyn_cast<ObjCInterfaceDecl>(*I)) {
192 if (!Class->isThisDeclarationADefinition()) {
197 ObjCInterfacesSeen.push_back(Class);
211 // yet until all class extensions and its implementation is seen.
860 // ivar in class extensions requires special treatment.
908 /// been found in the class implementation. In this case, it must be synthesized.
1064 // Replace the @class with typedefs corresponding to the classes.
1074 // as the class. As a convenience, we include the original declaration
1076 typedefString += "// @class ";
1092 typedefString += "// @class ";
1415 // Make sure super class's are written before current class is written.
1489 case ObjCMessageExpr::Class:
1572 case ObjCMessageExpr::Class:
2005 // Should be a pointer to a class.
2249 // Check for ObjC 'id' and class types that have been adorned with protocol
2557 // SynthGetClassFunctionDecl - Class objc_getClass(const char *name);
2571 // SynthGetSuperClassFunctionDecl - Class class_getSuperclass(Class cls);
2587 // SynthGetMetaClassFunctionDecl - Class objc_getMetaClass(const char *name);
2819 ObjCInterfaceDecl *Class =
2822 IdentifierInfo *clsName = Class->getIdentifier();
2982 ObjCInterfaceDecl *Class =
2985 IdentifierInfo *clsName = Class->getIdentifier();
3330 // (id)class_getSuperclass((Class)objc_getClass("CurrentClass"))
3337 // (Class)objc_getClass("CurrentClass")
3349 // (id)class_getSuperclass((Class)objc_getClass("CurrentClass"))
3351 InitExprs.push_back( // set 'super class', using class_getSuperclass().
3401 case ObjCMessageExpr::Class: {
3404 ObjCInterfaceDecl *Class
3406 IdentifierInfo *clsName = Class->getIdentifier();
3439 // (id)class_getSuperclass((Class)objc_getClass("CurrentClass"))
3446 // (Class)objc_getClass("CurrentClass")
3457 // (id)class_getSuperclass((Class)objc_getClass("CurrentClass"))
3460 // set 'super class', using class_getSuperclass().
3769 /// is defined inside an objective-c class. If so, it returns true.
3818 assert(false && "class not allowed as an ivar type");
4052 /// an objective-c class with ivars.
4055 assert(CDecl && "Class missing in SynthesizeObjCInternalStruct");
4071 // have no ivars (thus not synthesized) then no need to synthesize this class.
4079 // Insert named struct/union definitions inside class to
6045 // translation of function bodies were postponed untill all class and
6067 // Write struct declaration for the class matching its ivar declarations.
6069 // because class extensions and the implementation might declare their own
6605 /// (Obsolete) ARC-specific: this class has a .release_ivars method
6607 /// class was compiled with -fobjc-arr
6685 // Find the Root class
6705 // Also, for possibility of 'super' metadata class not having been defined yet.
6828 // must declare an extern class object in case this class is not implemented
6886 // Add static function to initialize the class pointer in the category structure.
6936 Class->getVisibility() == HiddenVisibility)
7218 // Output the top lovel protocol meta-data for the class.
7254 /// hasObjCExceptionAttribute - Return true if this class or any super
7255 /// class has the __objc_exception__ attribute.
7290 // Build _objc_method_list for class's instance methods if needed
7327 // Protocols referenced in class declaration?
7368 // class is root
7391 // class is root
7454 // For each implemented class, write out all its meta data.
7551 // Build _objc_method_list for class's instance methods if needed
7586 // Protocols referenced in class declaration?
7650 /// class methods.
7676 // Build _objc_method_list for class's methods if needed
7699 Result += IsInstanceMethod ? "INSTANCE" : "CLASS";
7749 // lookup which class implements the instance variable.
7753 assert(clsDeclared && "RewriteObjCIvarRefExpr(): Can't find class");
7794 // ivar in class extensions requires special treatment.