Searched refs:MSInfo (Results 1 – 11 of 11) sorted by relevance
1938 if (MemberSpecializationInfo *MSInfo in InstantiateClass() local1940 MSInfo->setTemplateSpecializationKind(TSK); in InstantiateClass()1941 MSInfo->setPointOfInstantiation(PointOfInstantiation); in InstantiateClass()2016 MemberSpecializationInfo *MSInfo =Enum->getMemberSpecializationInfo(); in InstantiateClass() local2017 assert(MSInfo && "no spec info for member enum specialization"); in InstantiateClass()2018 MSInfo->setTemplateSpecializationKind(TSK_ImplicitInstantiation); in InstantiateClass()2019 MSInfo->setPointOfInstantiation(PointOfInstantiation); in InstantiateClass()2155 if (MemberSpecializationInfo *MSInfo in InstantiateEnum() local2157 MSInfo->setTemplateSpecializationKind(TSK); in InstantiateEnum()2158 MSInfo->setPointOfInstantiation(PointOfInstantiation); in InstantiateEnum()[all …]
7000 MemberSpecializationInfo *MSInfo = nullptr; in CheckMemberSpecialization() local7015 MSInfo = Method->getMemberSpecializationInfo(); in CheckMemberSpecialization()7027 MSInfo = PrevVar->getMemberSpecializationInfo(); in CheckMemberSpecialization()7035 MSInfo = PrevRecord->getMemberSpecializationInfo(); in CheckMemberSpecialization()7043 MSInfo = PrevEnum->getMemberSpecializationInfo(); in CheckMemberSpecialization()7087 assert(MSInfo && "Member specialization info missing?"); in CheckMemberSpecialization()7093 MSInfo->getTemplateSpecializationKind(), in CheckMemberSpecialization()7094 MSInfo->getPointOfInstantiation(), in CheckMemberSpecialization()7554 MemberSpecializationInfo *MSInfo = PrevDecl->getMemberSpecializationInfo(); in ActOnExplicitInstantiation() local7556 assert(MSInfo && "No member specialization information?"); in ActOnExplicitInstantiation()[all …]
1311 static Decl *getInstantiatedFrom(Decl *D, MemberSpecializationInfo *MSInfo) { in getInstantiatedFrom() argument1312 return MSInfo->isExplicitSpecialization() ? D : MSInfo->getInstantiatedFrom(); in getInstantiatedFrom()1395 if (MemberSpecializationInfo *MSInfo = ED->getMemberSpecializationInfo()) in getDefiningModule() local1396 Entity = getInstantiatedFrom(ED, MSInfo); in getDefiningModule()1399 if (MemberSpecializationInfo *MSInfo = VD->getMemberSpecializationInfo()) in getDefiningModule() local1400 Entity = getInstantiatedFrom(VD, MSInfo); in getDefiningModule()
1610 if (MemberSpecializationInfo *MSInfo = in VisitFunctionDecl() local1612 if (MSInfo->getPointOfInstantiation().isInvalid()) { in VisitFunctionDecl()1614 MSInfo->setPointOfInstantiation(Loc); in VisitFunctionDecl()
6372 if (MemberSpecializationInfo *MSInfo = in completeExprArrayBound() local6375 if (MSInfo->getPointOfInstantiation().isInvalid()) { in completeExprArrayBound()6376 MSInfo->setPointOfInstantiation(PointOfInstantiation); in completeExprArrayBound()
12524 } else if (MemberSpecializationInfo *MSInfo in MarkFunctionReferenced() local12526 if (MSInfo->getPointOfInstantiation().isInvalid()) in MarkFunctionReferenced()12527 MSInfo->setPointOfInstantiation(Loc); in MarkFunctionReferenced()12528 else if (MSInfo->getTemplateSpecializationKind() in MarkFunctionReferenced()12531 PointOfInstantiation = MSInfo->getPointOfInstantiation(); in MarkFunctionReferenced()
1215 if (MemberSpecializationInfo *MSInfo = getMemberSpecializationInfo()) in getInstantiatedFromMemberClass() local1216 return cast<CXXRecordDecl>(MSInfo->getInstantiatedFrom()); in getInstantiatedFromMemberClass()1236 if (MemberSpecializationInfo *MSInfo = getMemberSpecializationInfo()) in getTemplateSpecializationKind() local1237 return MSInfo->getTemplateSpecializationKind(); in getTemplateSpecializationKind()1250 if (MemberSpecializationInfo *MSInfo = getMemberSpecializationInfo()) { in setTemplateSpecializationKind() local1251 MSInfo->setTemplateSpecializationKind(TSK); in setTemplateSpecializationKind()1282 if (MemberSpecializationInfo *MSInfo = getMemberSpecializationInfo()) { in getTemplateInstantiationPattern() local1283 if (isTemplateInstantiation(MSInfo->getTemplateSpecializationKind())) { in getTemplateInstantiationPattern()
3170 MemberSpecializationInfo *MSInfo in getTemplateSpecializationKind() local3172 if (MSInfo) in getTemplateSpecializationKind()3173 return MSInfo->getTemplateSpecializationKind(); in getTemplateSpecializationKind()3189 } else if (MemberSpecializationInfo *MSInfo in setTemplateSpecializationKind() local3191 MSInfo->setTemplateSpecializationKind(TSK); in setTemplateSpecializationKind()3194 MSInfo->getPointOfInstantiation().isInvalid()) in setTemplateSpecializationKind()3195 MSInfo->setPointOfInstantiation(PointOfInstantiation); in setTemplateSpecializationKind()3205 else if (MemberSpecializationInfo *MSInfo in getPointOfInstantiation() local3207 return MSInfo->getPointOfInstantiation(); in getPointOfInstantiation()
1140 } else if (MemberSpecializationInfo *MSInfo in VisitCXXRecordDecl() local1143 Writer.AddDeclRef(MSInfo->getInstantiatedFrom(), Record); in VisitCXXRecordDecl()1144 Record.push_back(MSInfo->getTemplateSpecializationKind()); in VisitCXXRecordDecl()1145 Writer.AddSourceLocation(MSInfo->getPointOfInstantiation(), Record); in VisitCXXRecordDecl()
3674 if (MemberSpecializationInfo *MSInfo = in UpdateDecl() local3676 MSInfo->setTemplateSpecializationKind(TSK); in UpdateDecl()3677 MSInfo->setPointOfInstantiation(POI); in UpdateDecl()
4617 if (auto *MSInfo = RD->getMemberSpecializationInfo()) { in WriteDeclUpdatesBlocks() local4618 Record.push_back(MSInfo->getTemplateSpecializationKind()); in WriteDeclUpdatesBlocks()4619 AddSourceLocation(MSInfo->getPointOfInstantiation(), Record); in WriteDeclUpdatesBlocks()