Lines Matching refs:PrevDecl
4585 } else if (CXXRecordDecl *PrevDecl = Decl->getPreviousDecl()) { in getInjectedClassNameType() local
4586 assert(PrevDecl->TypeForDecl && "previous declaration has no type"); in getInjectedClassNameType()
4587 Decl->TypeForDecl = PrevDecl->TypeForDecl; in getInjectedClassNameType()
4665 if (const RecordDecl *PrevDecl = Decl->getPreviousDecl()) in getRecordType() local
4666 if (PrevDecl->TypeForDecl) in getRecordType()
4667 return QualType(Decl->TypeForDecl = PrevDecl->TypeForDecl, 0); in getRecordType()
4678 if (const EnumDecl *PrevDecl = Decl->getPreviousDecl()) in getEnumType() local
4679 if (PrevDecl->TypeForDecl) in getEnumType()
4680 return QualType(Decl->TypeForDecl = PrevDecl->TypeForDecl, 0); in getEnumType()
5542 ObjCInterfaceDecl *PrevDecl) const { in getObjCInterfaceType()
5546 if (PrevDecl) { in getObjCInterfaceType()
5547 assert(PrevDecl->TypeForDecl && "previous decl has no TypeForDecl"); in getObjCInterfaceType()
5548 Decl->TypeForDecl = PrevDecl->TypeForDecl; in getObjCInterfaceType()
5549 return QualType(PrevDecl->TypeForDecl, 0); in getObjCInterfaceType()