Searched refs:MSInfo (Results 1 – 11 of 11) sorted by relevance
1939 if (MemberSpecializationInfo *MSInfo in InstantiateClass() local1941 MSInfo->setTemplateSpecializationKind(TSK); in InstantiateClass()1942 MSInfo->setPointOfInstantiation(PointOfInstantiation); in InstantiateClass()2017 MemberSpecializationInfo *MSInfo =Enum->getMemberSpecializationInfo(); in InstantiateClass() local2018 assert(MSInfo && "no spec info for member enum specialization"); in InstantiateClass()2019 MSInfo->setTemplateSpecializationKind(TSK_ImplicitInstantiation); in InstantiateClass()2020 MSInfo->setPointOfInstantiation(PointOfInstantiation); in InstantiateClass()2156 if (MemberSpecializationInfo *MSInfo in InstantiateEnum() local2158 MSInfo->setTemplateSpecializationKind(TSK); in InstantiateEnum()2159 MSInfo->setPointOfInstantiation(PointOfInstantiation); in InstantiateEnum()[all …]
1168 static Decl *getInstantiatedFrom(Decl *D, MemberSpecializationInfo *MSInfo) { in getInstantiatedFrom() argument1169 return MSInfo->isExplicitSpecialization() ? D : MSInfo->getInstantiatedFrom(); in getInstantiatedFrom()1183 if (MemberSpecializationInfo *MSInfo = ED->getMemberSpecializationInfo()) in getDefiningModule() local1184 Entity = getInstantiatedFrom(ED, MSInfo); in getDefiningModule()1187 if (MemberSpecializationInfo *MSInfo = VD->getMemberSpecializationInfo()) in getDefiningModule() local1188 Entity = getInstantiatedFrom(VD, MSInfo); in getDefiningModule()
6911 MemberSpecializationInfo *MSInfo = nullptr; in CheckMemberSpecialization() local6926 MSInfo = Method->getMemberSpecializationInfo(); in CheckMemberSpecialization()6938 MSInfo = PrevVar->getMemberSpecializationInfo(); in CheckMemberSpecialization()6946 MSInfo = PrevRecord->getMemberSpecializationInfo(); in CheckMemberSpecialization()6954 MSInfo = PrevEnum->getMemberSpecializationInfo(); in CheckMemberSpecialization()6998 assert(MSInfo && "Member specialization info missing?"); in CheckMemberSpecialization()7004 MSInfo->getTemplateSpecializationKind(), in CheckMemberSpecialization()7005 MSInfo->getPointOfInstantiation(), in CheckMemberSpecialization()7440 MemberSpecializationInfo *MSInfo = PrevDecl->getMemberSpecializationInfo(); in ActOnExplicitInstantiation() local7442 assert(MSInfo && "No member specialization information?"); in ActOnExplicitInstantiation()[all …]
1545 if (MemberSpecializationInfo *MSInfo = in VisitFunctionDecl() local1547 if (MSInfo->getPointOfInstantiation().isInvalid()) { in VisitFunctionDecl()1549 MSInfo->setPointOfInstantiation(Loc); in VisitFunctionDecl()
5032 if (MemberSpecializationInfo *MSInfo = in RequireCompleteExprType() local5035 if (MSInfo->getPointOfInstantiation().isInvalid()) { in RequireCompleteExprType()5036 MSInfo->setPointOfInstantiation(PointOfInstantiation); in RequireCompleteExprType()
12193 } else if (MemberSpecializationInfo *MSInfo in MarkFunctionReferenced() local12195 if (MSInfo->getPointOfInstantiation().isInvalid()) in MarkFunctionReferenced()12196 MSInfo->setPointOfInstantiation(Loc); in MarkFunctionReferenced()12197 else if (MSInfo->getTemplateSpecializationKind() in MarkFunctionReferenced()12200 PointOfInstantiation = MSInfo->getPointOfInstantiation(); in MarkFunctionReferenced()
1221 if (MemberSpecializationInfo *MSInfo = getMemberSpecializationInfo()) in getInstantiatedFromMemberClass() local1222 return cast<CXXRecordDecl>(MSInfo->getInstantiatedFrom()); in getInstantiatedFromMemberClass()1242 if (MemberSpecializationInfo *MSInfo = getMemberSpecializationInfo()) in getTemplateSpecializationKind() local1243 return MSInfo->getTemplateSpecializationKind(); in getTemplateSpecializationKind()1256 if (MemberSpecializationInfo *MSInfo = getMemberSpecializationInfo()) { in setTemplateSpecializationKind() local1257 MSInfo->setTemplateSpecializationKind(TSK); in setTemplateSpecializationKind()1288 if (MemberSpecializationInfo *MSInfo = getMemberSpecializationInfo()) { in getTemplateInstantiationPattern() local1289 if (isTemplateInstantiation(MSInfo->getTemplateSpecializationKind())) { in getTemplateInstantiationPattern()
3142 MemberSpecializationInfo *MSInfo in getTemplateSpecializationKind() local3144 if (MSInfo) in getTemplateSpecializationKind()3145 return MSInfo->getTemplateSpecializationKind(); in getTemplateSpecializationKind()3161 } else if (MemberSpecializationInfo *MSInfo in setTemplateSpecializationKind() local3163 MSInfo->setTemplateSpecializationKind(TSK); in setTemplateSpecializationKind()3166 MSInfo->getPointOfInstantiation().isInvalid()) in setTemplateSpecializationKind()3167 MSInfo->setPointOfInstantiation(PointOfInstantiation); in setTemplateSpecializationKind()3177 else if (MemberSpecializationInfo *MSInfo in getPointOfInstantiation() local3179 return MSInfo->getPointOfInstantiation(); in getPointOfInstantiation()
1092 } else if (MemberSpecializationInfo *MSInfo in VisitCXXRecordDecl() local1095 Writer.AddDeclRef(MSInfo->getInstantiatedFrom(), Record); in VisitCXXRecordDecl()1096 Record.push_back(MSInfo->getTemplateSpecializationKind()); in VisitCXXRecordDecl()1097 Writer.AddSourceLocation(MSInfo->getPointOfInstantiation(), Record); in VisitCXXRecordDecl()
3707 if (MemberSpecializationInfo *MSInfo = in UpdateDecl() local3709 MSInfo->setTemplateSpecializationKind(TSK); in UpdateDecl()3710 MSInfo->setPointOfInstantiation(POI); in UpdateDecl()
4782 if (auto *MSInfo = RD->getMemberSpecializationInfo()) { in WriteDeclUpdatesBlocks() local4783 Record.push_back(MSInfo->getTemplateSpecializationKind()); in WriteDeclUpdatesBlocks()4784 AddSourceLocation(MSInfo->getPointOfInstantiation(), Record); in WriteDeclUpdatesBlocks()