Lines Matching refs:PrevDecl
3174 } else if (CXXRecordDecl *PrevDecl = Decl->getPreviousDecl()) { in getInjectedClassNameType() local
3175 assert(PrevDecl->TypeForDecl && "previous declaration has no type"); in getInjectedClassNameType()
3176 Decl->TypeForDecl = PrevDecl->TypeForDecl; in getInjectedClassNameType()
3236 if (const RecordDecl *PrevDecl = Decl->getPreviousDecl()) in getRecordType() local
3237 if (PrevDecl->TypeForDecl) in getRecordType()
3238 return QualType(Decl->TypeForDecl = PrevDecl->TypeForDecl, 0); in getRecordType()
3249 if (const EnumDecl *PrevDecl = Decl->getPreviousDecl()) in getEnumType() local
3250 if (PrevDecl->TypeForDecl) in getEnumType()
3251 return QualType(Decl->TypeForDecl = PrevDecl->TypeForDecl, 0); in getEnumType()
3900 ObjCInterfaceDecl *PrevDecl) const { in getObjCInterfaceType()
3904 if (PrevDecl) { in getObjCInterfaceType()
3905 assert(PrevDecl->TypeForDecl && "previous decl has no TypeForDecl"); in getObjCInterfaceType()
3906 Decl->TypeForDecl = PrevDecl->TypeForDecl; in getObjCInterfaceType()
3907 return QualType(PrevDecl->TypeForDecl, 0); in getObjCInterfaceType()