Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSemaTemplateInstantiate.cpp1938 if (MemberSpecializationInfo *MSInfo in InstantiateClass() local
1940 MSInfo->setTemplateSpecializationKind(TSK); in InstantiateClass()
1941 MSInfo->setPointOfInstantiation(PointOfInstantiation); in InstantiateClass()
2016 MemberSpecializationInfo *MSInfo =Enum->getMemberSpecializationInfo(); in InstantiateClass() local
2017 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() local
2157 MSInfo->setTemplateSpecializationKind(TSK); in InstantiateEnum()
2158 MSInfo->setPointOfInstantiation(PointOfInstantiation); in InstantiateEnum()
[all …]
DSemaTemplate.cpp7000 MemberSpecializationInfo *MSInfo = nullptr; in CheckMemberSpecialization() local
7015 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() local
7556 assert(MSInfo && "No member specialization information?"); in ActOnExplicitInstantiation()
[all …]
DSemaLookup.cpp1311 static Decl *getInstantiatedFrom(Decl *D, MemberSpecializationInfo *MSInfo) { in getInstantiatedFrom() argument
1312 return MSInfo->isExplicitSpecialization() ? D : MSInfo->getInstantiatedFrom(); in getInstantiatedFrom()
1395 if (MemberSpecializationInfo *MSInfo = ED->getMemberSpecializationInfo()) in getDefiningModule() local
1396 Entity = getInstantiatedFrom(ED, MSInfo); in getDefiningModule()
1399 if (MemberSpecializationInfo *MSInfo = VD->getMemberSpecializationInfo()) in getDefiningModule() local
1400 Entity = getInstantiatedFrom(VD, MSInfo); in getDefiningModule()
DSemaTemplateInstantiateDecl.cpp1610 if (MemberSpecializationInfo *MSInfo = in VisitFunctionDecl() local
1612 if (MSInfo->getPointOfInstantiation().isInvalid()) { in VisitFunctionDecl()
1614 MSInfo->setPointOfInstantiation(Loc); in VisitFunctionDecl()
DSemaType.cpp6372 if (MemberSpecializationInfo *MSInfo = in completeExprArrayBound() local
6375 if (MSInfo->getPointOfInstantiation().isInvalid()) { in completeExprArrayBound()
6376 MSInfo->setPointOfInstantiation(PointOfInstantiation); in completeExprArrayBound()
DSemaExpr.cpp12524 } else if (MemberSpecializationInfo *MSInfo in MarkFunctionReferenced() local
12526 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()
/external/clang/lib/AST/
DDeclCXX.cpp1215 if (MemberSpecializationInfo *MSInfo = getMemberSpecializationInfo()) in getInstantiatedFromMemberClass() local
1216 return cast<CXXRecordDecl>(MSInfo->getInstantiatedFrom()); in getInstantiatedFromMemberClass()
1236 if (MemberSpecializationInfo *MSInfo = getMemberSpecializationInfo()) in getTemplateSpecializationKind() local
1237 return MSInfo->getTemplateSpecializationKind(); in getTemplateSpecializationKind()
1250 if (MemberSpecializationInfo *MSInfo = getMemberSpecializationInfo()) { in setTemplateSpecializationKind() local
1251 MSInfo->setTemplateSpecializationKind(TSK); in setTemplateSpecializationKind()
1282 if (MemberSpecializationInfo *MSInfo = getMemberSpecializationInfo()) { in getTemplateInstantiationPattern() local
1283 if (isTemplateInstantiation(MSInfo->getTemplateSpecializationKind())) { in getTemplateInstantiationPattern()
DDecl.cpp3170 MemberSpecializationInfo *MSInfo in getTemplateSpecializationKind() local
3172 if (MSInfo) in getTemplateSpecializationKind()
3173 return MSInfo->getTemplateSpecializationKind(); in getTemplateSpecializationKind()
3189 } else if (MemberSpecializationInfo *MSInfo in setTemplateSpecializationKind() local
3191 MSInfo->setTemplateSpecializationKind(TSK); in setTemplateSpecializationKind()
3194 MSInfo->getPointOfInstantiation().isInvalid()) in setTemplateSpecializationKind()
3195 MSInfo->setPointOfInstantiation(PointOfInstantiation); in setTemplateSpecializationKind()
3205 else if (MemberSpecializationInfo *MSInfo in getPointOfInstantiation() local
3207 return MSInfo->getPointOfInstantiation(); in getPointOfInstantiation()
/external/clang/lib/Serialization/
DASTWriterDecl.cpp1140 } else if (MemberSpecializationInfo *MSInfo in VisitCXXRecordDecl() local
1143 Writer.AddDeclRef(MSInfo->getInstantiatedFrom(), Record); in VisitCXXRecordDecl()
1144 Record.push_back(MSInfo->getTemplateSpecializationKind()); in VisitCXXRecordDecl()
1145 Writer.AddSourceLocation(MSInfo->getPointOfInstantiation(), Record); in VisitCXXRecordDecl()
DASTReaderDecl.cpp3674 if (MemberSpecializationInfo *MSInfo = in UpdateDecl() local
3676 MSInfo->setTemplateSpecializationKind(TSK); in UpdateDecl()
3677 MSInfo->setPointOfInstantiation(POI); in UpdateDecl()
DASTWriter.cpp4617 if (auto *MSInfo = RD->getMemberSpecializationInfo()) { in WriteDeclUpdatesBlocks() local
4618 Record.push_back(MSInfo->getTemplateSpecializationKind()); in WriteDeclUpdatesBlocks()
4619 AddSourceLocation(MSInfo->getPointOfInstantiation(), Record); in WriteDeclUpdatesBlocks()