Home
last modified time | relevance | path

Searched refs:MSInfo (Results 1 – 11 of 11) sorted by relevance

/external/clang/lib/Sema/
DSemaTemplateInstantiate.cpp1939 if (MemberSpecializationInfo *MSInfo in InstantiateClass() local
1941 MSInfo->setTemplateSpecializationKind(TSK); in InstantiateClass()
1942 MSInfo->setPointOfInstantiation(PointOfInstantiation); in InstantiateClass()
2017 MemberSpecializationInfo *MSInfo =Enum->getMemberSpecializationInfo(); in InstantiateClass() local
2018 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() local
2158 MSInfo->setTemplateSpecializationKind(TSK); in InstantiateEnum()
2159 MSInfo->setPointOfInstantiation(PointOfInstantiation); in InstantiateEnum()
[all …]
DSemaLookup.cpp1168 static Decl *getInstantiatedFrom(Decl *D, MemberSpecializationInfo *MSInfo) { in getInstantiatedFrom() argument
1169 return MSInfo->isExplicitSpecialization() ? D : MSInfo->getInstantiatedFrom(); in getInstantiatedFrom()
1183 if (MemberSpecializationInfo *MSInfo = ED->getMemberSpecializationInfo()) in getDefiningModule() local
1184 Entity = getInstantiatedFrom(ED, MSInfo); in getDefiningModule()
1187 if (MemberSpecializationInfo *MSInfo = VD->getMemberSpecializationInfo()) in getDefiningModule() local
1188 Entity = getInstantiatedFrom(VD, MSInfo); in getDefiningModule()
DSemaTemplate.cpp6911 MemberSpecializationInfo *MSInfo = nullptr; in CheckMemberSpecialization() local
6926 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() local
7442 assert(MSInfo && "No member specialization information?"); in ActOnExplicitInstantiation()
[all …]
DSemaTemplateInstantiateDecl.cpp1545 if (MemberSpecializationInfo *MSInfo = in VisitFunctionDecl() local
1547 if (MSInfo->getPointOfInstantiation().isInvalid()) { in VisitFunctionDecl()
1549 MSInfo->setPointOfInstantiation(Loc); in VisitFunctionDecl()
DSemaType.cpp5032 if (MemberSpecializationInfo *MSInfo = in RequireCompleteExprType() local
5035 if (MSInfo->getPointOfInstantiation().isInvalid()) { in RequireCompleteExprType()
5036 MSInfo->setPointOfInstantiation(PointOfInstantiation); in RequireCompleteExprType()
DSemaExpr.cpp12193 } else if (MemberSpecializationInfo *MSInfo in MarkFunctionReferenced() local
12195 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()
/external/clang/lib/AST/
DDeclCXX.cpp1221 if (MemberSpecializationInfo *MSInfo = getMemberSpecializationInfo()) in getInstantiatedFromMemberClass() local
1222 return cast<CXXRecordDecl>(MSInfo->getInstantiatedFrom()); in getInstantiatedFromMemberClass()
1242 if (MemberSpecializationInfo *MSInfo = getMemberSpecializationInfo()) in getTemplateSpecializationKind() local
1243 return MSInfo->getTemplateSpecializationKind(); in getTemplateSpecializationKind()
1256 if (MemberSpecializationInfo *MSInfo = getMemberSpecializationInfo()) { in setTemplateSpecializationKind() local
1257 MSInfo->setTemplateSpecializationKind(TSK); in setTemplateSpecializationKind()
1288 if (MemberSpecializationInfo *MSInfo = getMemberSpecializationInfo()) { in getTemplateInstantiationPattern() local
1289 if (isTemplateInstantiation(MSInfo->getTemplateSpecializationKind())) { in getTemplateInstantiationPattern()
DDecl.cpp3142 MemberSpecializationInfo *MSInfo in getTemplateSpecializationKind() local
3144 if (MSInfo) in getTemplateSpecializationKind()
3145 return MSInfo->getTemplateSpecializationKind(); in getTemplateSpecializationKind()
3161 } else if (MemberSpecializationInfo *MSInfo in setTemplateSpecializationKind() local
3163 MSInfo->setTemplateSpecializationKind(TSK); in setTemplateSpecializationKind()
3166 MSInfo->getPointOfInstantiation().isInvalid()) in setTemplateSpecializationKind()
3167 MSInfo->setPointOfInstantiation(PointOfInstantiation); in setTemplateSpecializationKind()
3177 else if (MemberSpecializationInfo *MSInfo in getPointOfInstantiation() local
3179 return MSInfo->getPointOfInstantiation(); in getPointOfInstantiation()
/external/clang/lib/Serialization/
DASTWriterDecl.cpp1092 } else if (MemberSpecializationInfo *MSInfo in VisitCXXRecordDecl() local
1095 Writer.AddDeclRef(MSInfo->getInstantiatedFrom(), Record); in VisitCXXRecordDecl()
1096 Record.push_back(MSInfo->getTemplateSpecializationKind()); in VisitCXXRecordDecl()
1097 Writer.AddSourceLocation(MSInfo->getPointOfInstantiation(), Record); in VisitCXXRecordDecl()
DASTReaderDecl.cpp3707 if (MemberSpecializationInfo *MSInfo = in UpdateDecl() local
3709 MSInfo->setTemplateSpecializationKind(TSK); in UpdateDecl()
3710 MSInfo->setPointOfInstantiation(POI); in UpdateDecl()
DASTWriter.cpp4782 if (auto *MSInfo = RD->getMemberSpecializationInfo()) { in WriteDeclUpdatesBlocks() local
4783 Record.push_back(MSInfo->getTemplateSpecializationKind()); in WriteDeclUpdatesBlocks()
4784 AddSourceLocation(MSInfo->getPointOfInstantiation(), Record); in WriteDeclUpdatesBlocks()