Searched refs:MSInfo (Results 1 – 11 of 11) sorted by relevance
1940 if (MemberSpecializationInfo *MSInfo in InstantiateClass() local1942 MSInfo->setTemplateSpecializationKind(TSK); in InstantiateClass()1943 MSInfo->setPointOfInstantiation(PointOfInstantiation); in InstantiateClass()2027 MemberSpecializationInfo *MSInfo =Enum->getMemberSpecializationInfo(); in InstantiateClass() local2028 assert(MSInfo && "no spec info for member enum specialization"); in InstantiateClass()2029 MSInfo->setTemplateSpecializationKind(TSK_ImplicitInstantiation); in InstantiateClass()2030 MSInfo->setPointOfInstantiation(PointOfInstantiation); in InstantiateClass()2169 if (MemberSpecializationInfo *MSInfo in InstantiateEnum() local2171 MSInfo->setTemplateSpecializationKind(TSK); in InstantiateEnum()2172 MSInfo->setPointOfInstantiation(PointOfInstantiation); in InstantiateEnum()[all …]
7065 MemberSpecializationInfo *MSInfo = nullptr; in CheckMemberSpecialization() local7081 MSInfo = Method->getMemberSpecializationInfo(); in CheckMemberSpecialization()7094 MSInfo = PrevVar->getMemberSpecializationInfo(); in CheckMemberSpecialization()7103 MSInfo = PrevRecord->getMemberSpecializationInfo(); in CheckMemberSpecialization()7112 MSInfo = PrevEnum->getMemberSpecializationInfo(); in CheckMemberSpecialization()7156 assert(MSInfo && "Member specialization info missing?"); in CheckMemberSpecialization()7162 MSInfo->getTemplateSpecializationKind(), in CheckMemberSpecialization()7163 MSInfo->getPointOfInstantiation(), in CheckMemberSpecialization()7670 MemberSpecializationInfo *MSInfo = PrevDecl->getMemberSpecializationInfo(); in ActOnExplicitInstantiation() local7672 assert(MSInfo && "No member specialization information?"); in ActOnExplicitInstantiation()[all …]
1329 static Decl *getInstantiatedFrom(Decl *D, MemberSpecializationInfo *MSInfo) { in getInstantiatedFrom() argument1330 return MSInfo->isExplicitSpecialization() ? D : MSInfo->getInstantiatedFrom(); in getInstantiatedFrom()1413 if (MemberSpecializationInfo *MSInfo = ED->getMemberSpecializationInfo()) in getDefiningModule() local1414 Entity = getInstantiatedFrom(ED, MSInfo); in getDefiningModule()1417 if (MemberSpecializationInfo *MSInfo = VD->getMemberSpecializationInfo()) in getDefiningModule() local1418 Entity = getInstantiatedFrom(VD, MSInfo); in getDefiningModule()
1716 if (MemberSpecializationInfo *MSInfo = in VisitFunctionDecl() local1718 if (MSInfo->getPointOfInstantiation().isInvalid()) { in VisitFunctionDecl()1720 MSInfo->setPointOfInstantiation(Loc); in VisitFunctionDecl()
6734 if (MemberSpecializationInfo *MSInfo = in completeExprArrayBound() local6737 if (MSInfo->getPointOfInstantiation().isInvalid()) { in completeExprArrayBound()6738 MSInfo->setPointOfInstantiation(PointOfInstantiation); in completeExprArrayBound()
13081 } else if (MemberSpecializationInfo *MSInfo in MarkFunctionReferenced() local13083 if (MSInfo->getPointOfInstantiation().isInvalid()) in MarkFunctionReferenced()13084 MSInfo->setPointOfInstantiation(Loc); in MarkFunctionReferenced()13085 else if (MSInfo->getTemplateSpecializationKind() in MarkFunctionReferenced()13088 PointOfInstantiation = MSInfo->getPointOfInstantiation(); in MarkFunctionReferenced()
1271 if (MemberSpecializationInfo *MSInfo = getMemberSpecializationInfo()) in getInstantiatedFromMemberClass() local1272 return cast<CXXRecordDecl>(MSInfo->getInstantiatedFrom()); in getInstantiatedFromMemberClass()1304 if (MemberSpecializationInfo *MSInfo = getMemberSpecializationInfo()) in getTemplateSpecializationKind() local1305 return MSInfo->getTemplateSpecializationKind(); in getTemplateSpecializationKind()1318 if (MemberSpecializationInfo *MSInfo = getMemberSpecializationInfo()) { in setTemplateSpecializationKind() local1319 MSInfo->setTemplateSpecializationKind(TSK); in setTemplateSpecializationKind()1350 if (MemberSpecializationInfo *MSInfo = getMemberSpecializationInfo()) { in getTemplateInstantiationPattern() local1351 if (isTemplateInstantiation(MSInfo->getTemplateSpecializationKind())) { in getTemplateInstantiationPattern()
3281 MemberSpecializationInfo *MSInfo in getTemplateSpecializationKind() local3283 if (MSInfo) in getTemplateSpecializationKind()3284 return MSInfo->getTemplateSpecializationKind(); in getTemplateSpecializationKind()3300 } else if (MemberSpecializationInfo *MSInfo in setTemplateSpecializationKind() local3302 MSInfo->setTemplateSpecializationKind(TSK); in setTemplateSpecializationKind()3305 MSInfo->getPointOfInstantiation().isInvalid()) in setTemplateSpecializationKind()3306 MSInfo->setPointOfInstantiation(PointOfInstantiation); in setTemplateSpecializationKind()3316 else if (MemberSpecializationInfo *MSInfo in getPointOfInstantiation() local3318 return MSInfo->getPointOfInstantiation(); in getPointOfInstantiation()3684 if (MemberSpecializationInfo *MSInfo = getMemberSpecializationInfo()) { in getTemplateInstantiationPattern() local[all …]
1174 } else if (MemberSpecializationInfo *MSInfo in VisitCXXRecordDecl() local1177 Record.AddDeclRef(MSInfo->getInstantiatedFrom()); in VisitCXXRecordDecl()1178 Record.push_back(MSInfo->getTemplateSpecializationKind()); in VisitCXXRecordDecl()1179 Record.AddSourceLocation(MSInfo->getPointOfInstantiation()); in VisitCXXRecordDecl()
3820 if (MemberSpecializationInfo *MSInfo = in UpdateDecl() local3822 MSInfo->setTemplateSpecializationKind(TSK); in UpdateDecl()3823 MSInfo->setPointOfInstantiation(POI); in UpdateDecl()
4695 if (auto *MSInfo = RD->getMemberSpecializationInfo()) { in WriteDeclUpdatesBlocks() local4696 Record.push_back(MSInfo->getTemplateSpecializationKind()); in WriteDeclUpdatesBlocks()4697 Record.AddSourceLocation(MSInfo->getPointOfInstantiation()); in WriteDeclUpdatesBlocks()