Lines Matching defs:ID
81 // This can be null for calls to e.g. id<Foo>.
441 ObjCInterfaceDecl *ID = candidate.getCorrectionDeclAs<ObjCInterfaceDecl>();
442 return ID && !declaresSameEntity(ID, CurrentIDecl);
830 ObjCInterfaceDecl *ID) {
831 if (!ID)
835 for (auto *MD : ID->methods())
1310 // Reject a protocol-unqualified id.
1313 // If B is a qualified id, then A must also be a qualified id and it must
1315 // For example, MyClass<A> can be assigned to id<A>, but MyClass<A> is a
1316 // stricter definition so it is not substitutable for id<A>.
1325 // id is a special type that bypasses type checking completely. We want a
1330 // If B is a qualified id, then A must also be a qualified id (which it isn't
2182 /// TODO: Handle protocol list; such as id<p1,p2> in type comparisons
2565 void Sema::DiagnoseDuplicateIvars(ObjCInterfaceDecl *ID,
2567 for (auto *Ivar : ID->ivars()) {
2647 /// The following allows us to typecheck messages to "id".
2824 // - it is id or qualified id, or
3130 } else { // get the type for "id".
3133 << FixItHint::CreateInsertion(SelectorLocs.front(), "(id)");
3361 const FieldDecl* ID = cast<FieldDecl>(Ivars[i]);
3364 /*FIXME: StartL=*/ID->getLocation(),
3365 ID->getLocation(),
3366 ID->getIdentifier(), ID->getType(),
3367 ID->getBitWidth());
3386 IdentifierInfo *Id,
3411 VarDecl *New = VarDecl::Create(Context, CurContext, StartLoc, IdLoc, Id,