Lines Matching refs:PrevDecl
4493 } else if (CXXRecordDecl *PrevDecl = Decl->getPreviousDecl()) { in getInjectedClassNameType() local
4494 assert(PrevDecl->TypeForDecl && "previous declaration has no type"); in getInjectedClassNameType()
4495 Decl->TypeForDecl = PrevDecl->TypeForDecl; in getInjectedClassNameType()
4554 if (const RecordDecl *PrevDecl = Decl->getPreviousDecl()) in getRecordType() local
4555 if (PrevDecl->TypeForDecl) in getRecordType()
4556 return QualType(Decl->TypeForDecl = PrevDecl->TypeForDecl, 0); in getRecordType()
4567 if (const EnumDecl *PrevDecl = Decl->getPreviousDecl()) in getEnumType() local
4568 if (PrevDecl->TypeForDecl) in getEnumType()
4569 return QualType(Decl->TypeForDecl = PrevDecl->TypeForDecl, 0); in getEnumType()
5390 ObjCInterfaceDecl *PrevDecl) const { in getObjCInterfaceType()
5394 if (PrevDecl) { in getObjCInterfaceType()
5395 assert(PrevDecl->TypeForDecl && "previous decl has no TypeForDecl"); in getObjCInterfaceType()
5396 Decl->TypeForDecl = PrevDecl->TypeForDecl; in getObjCInterfaceType()
5397 return QualType(PrevDecl->TypeForDecl, 0); in getObjCInterfaceType()