Lines Matching refs:PrevDecl
4623 } else if (CXXRecordDecl *PrevDecl = Decl->getPreviousDecl()) { in getInjectedClassNameType() local
4624 assert(PrevDecl->TypeForDecl && "previous declaration has no type"); in getInjectedClassNameType()
4625 Decl->TypeForDecl = PrevDecl->TypeForDecl; in getInjectedClassNameType()
4729 if (const RecordDecl *PrevDecl = Decl->getPreviousDecl()) in getRecordType() local
4730 if (PrevDecl->TypeForDecl) in getRecordType()
4731 return QualType(Decl->TypeForDecl = PrevDecl->TypeForDecl, 0); in getRecordType()
4742 if (const EnumDecl *PrevDecl = Decl->getPreviousDecl()) in getEnumType() local
4743 if (PrevDecl->TypeForDecl) in getEnumType()
4744 return QualType(Decl->TypeForDecl = PrevDecl->TypeForDecl, 0); in getEnumType()
5595 ObjCInterfaceDecl *PrevDecl) const { in getObjCInterfaceType()
5599 if (PrevDecl) { in getObjCInterfaceType()
5600 assert(PrevDecl->TypeForDecl && "previous decl has no TypeForDecl"); in getObjCInterfaceType()
5601 Decl->TypeForDecl = PrevDecl->TypeForDecl; in getObjCInterfaceType()
5602 return QualType(PrevDecl->TypeForDecl, 0); in getObjCInterfaceType()