Lines Matching refs:PrevDecl
3008 } else if (CXXRecordDecl *PrevDecl = Decl->getPreviousDecl()) { in getInjectedClassNameType() local
3009 assert(PrevDecl->TypeForDecl && "previous declaration has no type"); in getInjectedClassNameType()
3010 Decl->TypeForDecl = PrevDecl->TypeForDecl; in getInjectedClassNameType()
3070 if (const RecordDecl *PrevDecl = Decl->getPreviousDecl()) in getRecordType() local
3071 if (PrevDecl->TypeForDecl) in getRecordType()
3072 return QualType(Decl->TypeForDecl = PrevDecl->TypeForDecl, 0); in getRecordType()
3083 if (const EnumDecl *PrevDecl = Decl->getPreviousDecl()) in getEnumType() local
3084 if (PrevDecl->TypeForDecl) in getEnumType()
3085 return QualType(Decl->TypeForDecl = PrevDecl->TypeForDecl, 0); in getEnumType()
3707 ObjCInterfaceDecl *PrevDecl) const { in getObjCInterfaceType()
3711 if (PrevDecl) { in getObjCInterfaceType()
3712 assert(PrevDecl->TypeForDecl && "previous decl has no TypeForDecl"); in getObjCInterfaceType()
3713 Decl->TypeForDecl = PrevDecl->TypeForDecl; in getObjCInterfaceType()
3714 return QualType(PrevDecl->TypeForDecl, 0); in getObjCInterfaceType()