Lines Matching refs:PrevDecl
4478 } else if (CXXRecordDecl *PrevDecl = Decl->getPreviousDecl()) { in getInjectedClassNameType() local
4479 assert(PrevDecl->TypeForDecl && "previous declaration has no type"); in getInjectedClassNameType()
4480 Decl->TypeForDecl = PrevDecl->TypeForDecl; in getInjectedClassNameType()
4539 if (const RecordDecl *PrevDecl = Decl->getPreviousDecl()) in getRecordType() local
4540 if (PrevDecl->TypeForDecl) in getRecordType()
4541 return QualType(Decl->TypeForDecl = PrevDecl->TypeForDecl, 0); in getRecordType()
4552 if (const EnumDecl *PrevDecl = Decl->getPreviousDecl()) in getEnumType() local
4553 if (PrevDecl->TypeForDecl) in getEnumType()
4554 return QualType(Decl->TypeForDecl = PrevDecl->TypeForDecl, 0); in getEnumType()
5375 ObjCInterfaceDecl *PrevDecl) const { in getObjCInterfaceType()
5379 if (PrevDecl) { in getObjCInterfaceType()
5380 assert(PrevDecl->TypeForDecl && "previous decl has no TypeForDecl"); in getObjCInterfaceType()
5381 Decl->TypeForDecl = PrevDecl->TypeForDecl; in getObjCInterfaceType()
5382 return QualType(PrevDecl->TypeForDecl, 0); in getObjCInterfaceType()