Home
last modified time | relevance | path

Searched refs:MSInfo (Results 1 – 21 of 21) 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/llvm-project/clang/lib/Sema/
DSemaTemplateInstantiate.cpp2646 if (MemberSpecializationInfo *MSInfo in InstantiateClass() local
2648 MSInfo->setTemplateSpecializationKind(TSK); in InstantiateClass()
2649 MSInfo->setPointOfInstantiation(PointOfInstantiation); in InstantiateClass()
2742 MemberSpecializationInfo *MSInfo =Enum->getMemberSpecializationInfo(); in InstantiateClass() local
2743 assert(MSInfo && "no spec info for member enum specialization"); in InstantiateClass()
2744 MSInfo->setTemplateSpecializationKind(TSK_ImplicitInstantiation); in InstantiateClass()
2745 MSInfo->setPointOfInstantiation(PointOfInstantiation); in InstantiateClass()
2892 if (MemberSpecializationInfo *MSInfo in InstantiateEnum() local
2894 MSInfo->setTemplateSpecializationKind(TSK); in InstantiateEnum()
2895 MSInfo->setPointOfInstantiation(PointOfInstantiation); in InstantiateEnum()
[all …]
DSemaTemplate.cpp9209 MemberSpecializationInfo *MSInfo = nullptr; in CheckMemberSpecialization() local
9227 MSInfo = Method->getMemberSpecializationInfo(); in CheckMemberSpecialization()
9240 MSInfo = PrevVar->getMemberSpecializationInfo(); in CheckMemberSpecialization()
9249 MSInfo = PrevRecord->getMemberSpecializationInfo(); in CheckMemberSpecialization()
9258 MSInfo = PrevEnum->getMemberSpecializationInfo(); in CheckMemberSpecialization()
9305 assert(MSInfo && "Member specialization info missing?"); in CheckMemberSpecialization()
9311 MSInfo->getTemplateSpecializationKind(), in CheckMemberSpecialization()
9312 MSInfo->getPointOfInstantiation(), in CheckMemberSpecialization()
9883 MemberSpecializationInfo *MSInfo = PrevDecl->getMemberSpecializationInfo(); in ActOnExplicitInstantiation() local
9885 assert(MSInfo && "No member specialization information?"); in ActOnExplicitInstantiation()
[all …]
DSemaTemplateInstantiateDecl.cpp2168 if (MemberSpecializationInfo *MSInfo = in VisitFunctionDecl() local
2170 if (MSInfo->getPointOfInstantiation().isInvalid()) { in VisitFunctionDecl()
2172 MSInfo->setPointOfInstantiation(Loc); in VisitFunctionDecl()
2551 if (const MemberSpecializationInfo *MSInfo = in VisitCXXMethodDecl() local
2553 Loc = MSInfo->getPointOfInstantiation(); in VisitCXXMethodDecl()
/external/llvm-project/clang/lib/AST/
DDecl.cpp2520 if (MemberSpecializationInfo *MSInfo = VD->getMemberSpecializationInfo()) { in getTemplateInstantiationPattern() local
2521 if (isTemplateInstantiation(MSInfo->getTemplateSpecializationKind())) { in getTemplateInstantiationPattern()
3856 if (MemberSpecializationInfo *MSInfo = in getTemplateSpecializationKind() local
3858 return MSInfo->getTemplateSpecializationKind(); in getTemplateSpecializationKind()
3885 if (auto *MSInfo = FTSInfo->getMemberSpecializationInfo()) in getTemplateSpecializationKindForInstantiation() local
3886 return MSInfo->getTemplateSpecializationKind(); in getTemplateSpecializationKindForInstantiation()
3890 if (MemberSpecializationInfo *MSInfo = in getTemplateSpecializationKindForInstantiation() local
3892 return MSInfo->getTemplateSpecializationKind(); in getTemplateSpecializationKindForInstantiation()
3911 } else if (MemberSpecializationInfo *MSInfo in setTemplateSpecializationKind() local
3913 MSInfo->setTemplateSpecializationKind(TSK); in setTemplateSpecializationKind()
[all …]
DDeclCXX.cpp1762 if (MemberSpecializationInfo *MSInfo = getMemberSpecializationInfo()) in getInstantiatedFromMemberClass() local
1763 return cast<CXXRecordDecl>(MSInfo->getInstantiatedFrom()); in getInstantiatedFromMemberClass()
1794 if (MemberSpecializationInfo *MSInfo = getMemberSpecializationInfo()) in getTemplateSpecializationKind() local
1795 return MSInfo->getTemplateSpecializationKind(); in getTemplateSpecializationKind()
1807 if (MemberSpecializationInfo *MSInfo = getMemberSpecializationInfo()) { in setTemplateSpecializationKind() local
1808 MSInfo->setTemplateSpecializationKind(TSK); in setTemplateSpecializationKind()
1846 if (MemberSpecializationInfo *MSInfo = getMemberSpecializationInfo()) { in getTemplateInstantiationPattern() local
1847 if (isTemplateInstantiation(MSInfo->getTemplateSpecializationKind())) { in getTemplateInstantiationPattern()
DDeclTemplate.cpp847 MemberSpecializationInfo *MSInfo) { in Create() argument
854 C.Allocate(totalSizeToAlloc<MemberSpecializationInfo *>(MSInfo ? 1 : 0)); in Create()
856 FD, Template, TSK, TemplateArgs, ArgsAsWritten, POI, MSInfo); in Create()
/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/llvm-project/clang/include/clang/AST/
DDeclTemplate.h498 SourceLocation POI, MemberSpecializationInfo *MSInfo) in FunctionTemplateSpecializationInfo() argument
499 : Function(FD, MSInfo ? 1 : 0), Template(Template, TSK - 1), in FunctionTemplateSpecializationInfo()
503 if (MSInfo) in FunctionTemplateSpecializationInfo()
504 getTrailingObjects<MemberSpecializationInfo *>()[0] = MSInfo; in FunctionTemplateSpecializationInfo()
519 SourceLocation POI, MemberSpecializationInfo *MSInfo);
/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()
/external/llvm-project/clang/lib/Serialization/
DASTReaderDecl.cpp956 MemberSpecializationInfo *MSInfo = nullptr; in VisitFunctionDecl() local
962 MSInfo = new (C) MemberSpecializationInfo(FD, TSK); in VisitFunctionDecl()
963 MSInfo->setPointOfInstantiation(POI); in VisitFunctionDecl()
970 MSInfo); in VisitFunctionDecl()
4564 if (MemberSpecializationInfo *MSInfo = in UpdateDecl() local
4566 MSInfo->setTemplateSpecializationKind(TSK); in UpdateDecl()
4567 MSInfo->setPointOfInstantiation(POI); in UpdateDecl()
DASTWriterDecl.cpp1345 } else if (MemberSpecializationInfo *MSInfo in VisitCXXRecordDecl() local
1348 Record.AddDeclRef(MSInfo->getInstantiatedFrom()); in VisitCXXRecordDecl()
1349 Record.push_back(MSInfo->getTemplateSpecializationKind()); in VisitCXXRecordDecl()
1350 Record.AddSourceLocation(MSInfo->getPointOfInstantiation()); in VisitCXXRecordDecl()
DASTWriter.cpp5009 if (auto *MSInfo = RD->getMemberSpecializationInfo()) { in WriteDeclUpdatesBlocks() local
5010 Record.push_back(MSInfo->getTemplateSpecializationKind()); in WriteDeclUpdatesBlocks()
5011 Record.AddSourceLocation(MSInfo->getPointOfInstantiation()); in WriteDeclUpdatesBlocks()