Lines Matching refs:PrevDecl
2929 } else if (CXXRecordDecl *PrevDecl = Decl->getPreviousDecl()) {
2930 assert(PrevDecl->TypeForDecl && "previous declaration has no type");
2931 Decl->TypeForDecl = PrevDecl->TypeForDecl;
2991 if (const RecordDecl *PrevDecl = Decl->getPreviousDecl())
2992 if (PrevDecl->TypeForDecl)
2993 return QualType(Decl->TypeForDecl = PrevDecl->TypeForDecl, 0);
3004 if (const EnumDecl *PrevDecl = Decl->getPreviousDecl())
3005 if (PrevDecl->TypeForDecl)
3006 return QualType(Decl->TypeForDecl = PrevDecl->TypeForDecl, 0);
3629 ObjCInterfaceDecl *PrevDecl) const {
3633 if (PrevDecl) {
3634 assert(PrevDecl->TypeForDecl && "previous decl has no TypeForDecl");
3635 Decl->TypeForDecl = PrevDecl->TypeForDecl;
3636 return QualType(PrevDecl->TypeForDecl, 0);
5771 /*PrevDecl=*/nullptr,
5805 /*PrevDecl*/ nullptr);
6001 /*PrevDecl*/ nullptr);