Lines Matching defs:ID
42 BLOCK_FIELD_IS_OBJECT = 3, /* id, NSObject, __attribute__((NSObject)),
631 // Get the ID and start/end of the main file.
666 } else if (ObjCInterfaceDecl *ID = dyn_cast<ObjCInterfaceDecl>(D)) {
667 if (ID->isThisDeclarationADefinition())
668 RewriteInterfaceDecl(ID);
799 "id objc_getProperty(id, SEL, long, bool);\n";
857 "void objc_setProperty (id, SEL, long, id, bool, bool);\n";
868 Setr += ", (id)";
1039 ResultStr += "id";
1124 ResultStr += "id ";
1386 /// (id, SEL, struct __objcFastEnumerationState *, id *, unsigned int))
1387 /// (void *)objc_msgSend)((id)l_collection,
1391 /// (id *)__rw_items, (unsigned int)16)
1394 buf += "((unsigned int (*) (id, SEL, struct __objcFastEnumerationState *, "
1395 "id *, unsigned int))(void *)objc_msgSend)";
1397 buf += "((id)l_collection,\n\t\t";
1401 "(id *)__rw_items, (unsigned int)16)";
1446 /// id __rw_items[16];
1447 /// id l_collection = (id)collection;
1490 // Simply use 'id' for all qualified types.
1491 elementTypeAsString = "id";
1506 // Simply use 'id' for all qualified types.
1507 elementTypeAsString = "id";
1514 // id __rw_items[16];
1515 buf += "id __rw_items[16];\n\t";
1516 // id l_collection = (id)
1517 buf += "id l_collection = (id)";
1544 // (id, SEL, struct __objcFastEnumerationState *, id *, unsigned int))
1545 // (void *)objc_msgSend)((id)l_collection,
1549 // (id *)__rw_items, (unsigned int)16);
1648 buf = "objc_sync_enter((id)";
1664 buf += "id volatile _rethrow = 0;\n";
1798 buf += "id volatile _rethrow = 0;\n";
1813 buf += " id _caught = objc_exception_extract(&_stack);\n";
1851 buf += "1) { id _tmp = _caught;";
1962 /* void objc_exception_throw(id) __attribute__((noreturn)); */
2118 // Check for ObjC 'id' and class types that have been adorned with protocol
2119 // information (id<p>, C<p>*). The protocol references need to be rewritten!
2313 // SynthSuperConstructorFunctionDecl - id objc_super(id obj, id super);
2320 assert(!argT.isNull() && "Can't find 'id' type");
2332 // SynthMsgSendFunctionDecl - id objc_msgSend(id self, SEL op, ...);
2337 assert(!argT.isNull() && "Can't find 'id' type");
2351 // SynthMsgSendSuperFunctionDecl - id objc_msgSendSuper(struct objc_super *, SEL op, ...);
2373 // SynthMsgSendStretFunctionDecl - id objc_msgSend_stret(id self, SEL op, ...);
2378 assert(!argT.isNull() && "Can't find 'id' type");
2393 // id objc_msgSendSuper_stret(struct objc_super *, SEL op, ...);
2417 // SynthMsgSendFpretFunctionDecl - double objc_msgSend_fpret(id self, SEL op, ...);
2422 assert(!argT.isNull() && "Can't find 'id' type");
2436 // SynthGetClassFunctionDecl - id objc_getClass(const char *name);
2466 // SynthGetMetaClassFunctionDecl - id objc_getMetaClass(const char *name);
2679 // (id)class_getSuperclass((Class)objc_getClass("CurrentClass"))
2697 // (id)class_getSuperclass((Class)objc_getClass("CurrentClass"))
2698 // To turn off a warning, type-cast to 'id'
2720 // (struct objc_super *)&__rw_objc_super((id)self, (id)objc_getClass("SUPER"))
2780 // (id)class_getSuperclass((Class)objc_getClass("CurrentClass"))
2797 // (id)class_getSuperclass((Class)objc_getClass("CurrentClass"))
2798 // To turn off a warning, type-cast to 'id'
2819 // (struct objc_super *)&__rw_objc_super((id)self, (id)objc_getClass("SUPER"))
2900 // Make id<P...> cast into an 'id' cast.
2930 // Push 'id' and 'SEL', the 2 implicit arguments.
3057 IdentifierInfo *ID = &Context->Idents.get(Name);
3059 SourceLocation(), ID, getProtocolType(),
4092 // Replace id<P> with id/*<>*/
4378 IdentifierInfo *ID = &Context->Idents.get(name);
4381 SourceLocation(), ID, FType, nullptr, SC_Extern,
4712 // Need to check for protocol refs (id <P>, Foo <P> *) in variable decls
4721 // for (id <FooProtocol> index in someArray) ;