Lines Matching refs:PrevDecl
3845 } else if (CXXRecordDecl *PrevDecl = Decl->getPreviousDecl()) { in getInjectedClassNameType() local
3846 assert(PrevDecl->TypeForDecl && "previous declaration has no type"); in getInjectedClassNameType()
3847 Decl->TypeForDecl = PrevDecl->TypeForDecl; in getInjectedClassNameType()
3906 if (const RecordDecl *PrevDecl = Decl->getPreviousDecl()) in getRecordType() local
3907 if (PrevDecl->TypeForDecl) in getRecordType()
3908 return QualType(Decl->TypeForDecl = PrevDecl->TypeForDecl, 0); in getRecordType()
3919 if (const EnumDecl *PrevDecl = Decl->getPreviousDecl()) in getEnumType() local
3920 if (PrevDecl->TypeForDecl) in getEnumType()
3921 return QualType(Decl->TypeForDecl = PrevDecl->TypeForDecl, 0); in getEnumType()
4718 ObjCInterfaceDecl *PrevDecl) const { in getObjCInterfaceType()
4722 if (PrevDecl) { in getObjCInterfaceType()
4723 assert(PrevDecl->TypeForDecl && "previous decl has no TypeForDecl"); in getObjCInterfaceType()
4724 Decl->TypeForDecl = PrevDecl->TypeForDecl; in getObjCInterfaceType()
4725 return QualType(PrevDecl->TypeForDecl, 0); in getObjCInterfaceType()