Home | History | Annotate | Download | only in Frontend

Lines Matching defs:Class

36   class RewriteObjC : public ASTConsumer {
150 class DisableReplaceStmtScope {
170 if (ObjCInterfaceDecl *Class = dyn_cast<ObjCInterfaceDecl>(*I)) {
171 if (!Class->isThisDeclarationADefinition()) {
506 class RewriteObjCFragileABI : public RewriteObjC {
907 // Replace the @class with typedefs corresponding to the classes.
917 // as the class. As a convenience, we include the original declaration
919 typedefString += "// @class ";
934 typedefString += "// @class ";
1291 case ObjCMessageExpr::Class:
1367 case ObjCMessageExpr::Class:
1890 // Should be a pointer to a class.
2155 // Check for ObjC 'id' and class types that have been adorned with protocol
2487 // SynthGetSuperClassFunctionDecl - Class class_getSuperclass(Class cls);
2716 // (id)class_getSuperclass((Class)objc_getClass("CurrentClass"))
2728 // (Class)objc_getClass("CurrentClass")
2738 // (id)class_getSuperclass((Class)objc_getClass("CurrentClass"))
2740 InitExprs.push_back( // set 'super class', using class_getSuperclass().
2790 case ObjCMessageExpr::Class: {
2793 ObjCInterfaceDecl *Class
2795 IdentifierInfo *clsName = Class->getIdentifier();
2825 // (id)class_getSuperclass((Class)objc_getClass("CurrentClass"))
2836 // (Class)objc_getClass("CurrentClass")
2846 // (id)class_getSuperclass((Class)objc_getClass("CurrentClass"))
2849 // set 'super class', using class_getSuperclass().
3158 /// an objective-c class with ivars.
3161 assert(CDecl && "Class missing in SynthesizeObjCInternalStruct");
3176 // have no ivars (thus not synthesized) then no need to synthesize this class.
3234 class structure definition.
5248 // Output class methods declared in this protocol.
5346 // Output the top lovel protocol meta-data for the class.
5385 // FIXME: Implementation of a class with no @interface (legacy) does not
5467 // Build _objc_method_list for class's instance methods if needed
5495 // Build _objc_method_list for class's class methods if needed
5499 // Protocols referenced in class declaration?
5501 "CLASS", CDecl->getName(), Result);
5503 // Declaration of class/meta-class metadata
5538 // Meta-class metadata generation.
5566 // Set 'ivars' field for root class to 0. ObjC1 runtime does not use it.
5585 // class metadata generation.
5603 // 'info' field is initialized to CLS_CLASS(1) for class
5608 // class has size. Must synthesize its size.
5643 // For each implemented class, write out all its meta data.
5749 // Build _objc_method_list for class's instance methods if needed
5776 // Build _objc_method_list for class's class methods if needed
5781 // Protocols referenced in class declaration?
5848 /// class methods.
5874 // Build _objc_method_list for class's methods if needed
5890 Result += IsInstanceMethod ? "INSTANCE" : "CLASS";
5940 // lookup which class implements the instance variable.
5944 assert(clsDeclared && "RewriteObjCIvarRefExpr(): Can't find class");
5981 // lookup which class implements the instance variable.
5985 assert(clsDeclared && "RewriteObjCIvarRefExpr(): Can't find class");