Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSemaTemplateInstantiate.cpp1940 if (MemberSpecializationInfo *MSInfo in InstantiateClass() local
1942 MSInfo->setTemplateSpecializationKind(TSK); in InstantiateClass()
1943 MSInfo->setPointOfInstantiation(PointOfInstantiation); in InstantiateClass()
2027 MemberSpecializationInfo *MSInfo =Enum->getMemberSpecializationInfo(); in InstantiateClass() local
2028 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() local
2171 MSInfo->setTemplateSpecializationKind(TSK); in InstantiateEnum()
2172 MSInfo->setPointOfInstantiation(PointOfInstantiation); in InstantiateEnum()
[all …]
DSemaTemplate.cpp7065 MemberSpecializationInfo *MSInfo = nullptr; in CheckMemberSpecialization() local
7081 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() local
7672 assert(MSInfo && "No member specialization information?"); in ActOnExplicitInstantiation()
[all …]
DSemaLookup.cpp1329 static Decl *getInstantiatedFrom(Decl *D, MemberSpecializationInfo *MSInfo) { in getInstantiatedFrom() argument
1330 return MSInfo->isExplicitSpecialization() ? D : MSInfo->getInstantiatedFrom(); in getInstantiatedFrom()
1413 if (MemberSpecializationInfo *MSInfo = ED->getMemberSpecializationInfo()) in getDefiningModule() local
1414 Entity = getInstantiatedFrom(ED, MSInfo); in getDefiningModule()
1417 if (MemberSpecializationInfo *MSInfo = VD->getMemberSpecializationInfo()) in getDefiningModule() local
1418 Entity = getInstantiatedFrom(VD, MSInfo); in getDefiningModule()
DSemaTemplateInstantiateDecl.cpp1716 if (MemberSpecializationInfo *MSInfo = in VisitFunctionDecl() local
1718 if (MSInfo->getPointOfInstantiation().isInvalid()) { in VisitFunctionDecl()
1720 MSInfo->setPointOfInstantiation(Loc); in VisitFunctionDecl()
DSemaType.cpp6734 if (MemberSpecializationInfo *MSInfo = in completeExprArrayBound() local
6737 if (MSInfo->getPointOfInstantiation().isInvalid()) { in completeExprArrayBound()
6738 MSInfo->setPointOfInstantiation(PointOfInstantiation); in completeExprArrayBound()
DSemaExpr.cpp13081 } else if (MemberSpecializationInfo *MSInfo in MarkFunctionReferenced() local
13083 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()
/external/clang/lib/AST/
DDeclCXX.cpp1271 if (MemberSpecializationInfo *MSInfo = getMemberSpecializationInfo()) in getInstantiatedFromMemberClass() local
1272 return cast<CXXRecordDecl>(MSInfo->getInstantiatedFrom()); in getInstantiatedFromMemberClass()
1304 if (MemberSpecializationInfo *MSInfo = getMemberSpecializationInfo()) in getTemplateSpecializationKind() local
1305 return MSInfo->getTemplateSpecializationKind(); in getTemplateSpecializationKind()
1318 if (MemberSpecializationInfo *MSInfo = getMemberSpecializationInfo()) { in setTemplateSpecializationKind() local
1319 MSInfo->setTemplateSpecializationKind(TSK); in setTemplateSpecializationKind()
1350 if (MemberSpecializationInfo *MSInfo = getMemberSpecializationInfo()) { in getTemplateInstantiationPattern() local
1351 if (isTemplateInstantiation(MSInfo->getTemplateSpecializationKind())) { in getTemplateInstantiationPattern()
DDecl.cpp3281 MemberSpecializationInfo *MSInfo in getTemplateSpecializationKind() local
3283 if (MSInfo) in getTemplateSpecializationKind()
3284 return MSInfo->getTemplateSpecializationKind(); in getTemplateSpecializationKind()
3300 } else if (MemberSpecializationInfo *MSInfo in setTemplateSpecializationKind() local
3302 MSInfo->setTemplateSpecializationKind(TSK); in setTemplateSpecializationKind()
3305 MSInfo->getPointOfInstantiation().isInvalid()) in setTemplateSpecializationKind()
3306 MSInfo->setPointOfInstantiation(PointOfInstantiation); in setTemplateSpecializationKind()
3316 else if (MemberSpecializationInfo *MSInfo in getPointOfInstantiation() local
3318 return MSInfo->getPointOfInstantiation(); in getPointOfInstantiation()
3684 if (MemberSpecializationInfo *MSInfo = getMemberSpecializationInfo()) { in getTemplateInstantiationPattern() local
[all …]
/external/clang/lib/Serialization/
DASTWriterDecl.cpp1174 } else if (MemberSpecializationInfo *MSInfo in VisitCXXRecordDecl() local
1177 Record.AddDeclRef(MSInfo->getInstantiatedFrom()); in VisitCXXRecordDecl()
1178 Record.push_back(MSInfo->getTemplateSpecializationKind()); in VisitCXXRecordDecl()
1179 Record.AddSourceLocation(MSInfo->getPointOfInstantiation()); in VisitCXXRecordDecl()
DASTReaderDecl.cpp3820 if (MemberSpecializationInfo *MSInfo = in UpdateDecl() local
3822 MSInfo->setTemplateSpecializationKind(TSK); in UpdateDecl()
3823 MSInfo->setPointOfInstantiation(POI); in UpdateDecl()
DASTWriter.cpp4695 if (auto *MSInfo = RD->getMemberSpecializationInfo()) { in WriteDeclUpdatesBlocks() local
4696 Record.push_back(MSInfo->getTemplateSpecializationKind()); in WriteDeclUpdatesBlocks()
4697 Record.AddSourceLocation(MSInfo->getPointOfInstantiation()); in WriteDeclUpdatesBlocks()