Home
last modified time | relevance | path

Searched refs:FTSInfo (Results 1 – 6 of 6) sorted by relevance

/external/clang/lib/Serialization/
DASTWriterDecl.cpp550 FTSInfo = D->getTemplateSpecializationInfo(); in VisitFunctionDecl() local
552 RegisterTemplateSpecialization(FTSInfo->getTemplate(), D); in VisitFunctionDecl()
554 Record.AddDeclRef(FTSInfo->getTemplate()); in VisitFunctionDecl()
555 Record.push_back(FTSInfo->getTemplateSpecializationKind()); in VisitFunctionDecl()
558 Record.AddTemplateArgumentList(FTSInfo->TemplateArguments); in VisitFunctionDecl()
561 Record.push_back(FTSInfo->TemplateArgumentsAsWritten != nullptr); in VisitFunctionDecl()
562 if (FTSInfo->TemplateArgumentsAsWritten) { in VisitFunctionDecl()
563 Record.push_back(FTSInfo->TemplateArgumentsAsWritten->NumTemplateArgs); in VisitFunctionDecl()
564 for (int i=0, e = FTSInfo->TemplateArgumentsAsWritten->NumTemplateArgs; in VisitFunctionDecl()
567 (*FTSInfo->TemplateArgumentsAsWritten)[i]); in VisitFunctionDecl()
[all …]
/external/llvm-project/clang/lib/Serialization/
DASTWriterDecl.cpp598 FTSInfo = D->getTemplateSpecializationInfo(); in VisitFunctionDecl() local
600 RegisterTemplateSpecialization(FTSInfo->getTemplate(), D); in VisitFunctionDecl()
602 Record.AddDeclRef(FTSInfo->getTemplate()); in VisitFunctionDecl()
603 Record.push_back(FTSInfo->getTemplateSpecializationKind()); in VisitFunctionDecl()
606 Record.AddTemplateArgumentList(FTSInfo->TemplateArguments); in VisitFunctionDecl()
609 Record.push_back(FTSInfo->TemplateArgumentsAsWritten != nullptr); in VisitFunctionDecl()
610 if (FTSInfo->TemplateArgumentsAsWritten) { in VisitFunctionDecl()
611 Record.push_back(FTSInfo->TemplateArgumentsAsWritten->NumTemplateArgs); in VisitFunctionDecl()
612 for (int i=0, e = FTSInfo->TemplateArgumentsAsWritten->NumTemplateArgs; in VisitFunctionDecl()
615 (*FTSInfo->TemplateArgumentsAsWritten)[i]); in VisitFunctionDecl()
[all …]
DASTReaderDecl.cpp4480 if (auto *FTSInfo = FD->TemplateOrSpecialization in UpdateDecl() local
4482 FTSInfo->setPointOfInstantiation(POI); in UpdateDecl()
/external/llvm-project/clang/lib/AST/
DDecl.cpp3851 if (FunctionTemplateSpecializationInfo *FTSInfo = in getTemplateSpecializationKind() local
3854 return FTSInfo->getTemplateSpecializationKind(); in getTemplateSpecializationKind()
3882 if (FunctionTemplateSpecializationInfo *FTSInfo = in getTemplateSpecializationKindForInstantiation() local
3885 if (auto *MSInfo = FTSInfo->getMemberSpecializationInfo()) in getTemplateSpecializationKindForInstantiation()
3887 return FTSInfo->getTemplateSpecializationKind(); in getTemplateSpecializationKindForInstantiation()
3900 if (FunctionTemplateSpecializationInfo *FTSInfo in setTemplateSpecializationKind() local
3903 FTSInfo->setTemplateSpecializationKind(TSK); in setTemplateSpecializationKind()
3906 FTSInfo->getPointOfInstantiation().isInvalid()) { in setTemplateSpecializationKind()
3907 FTSInfo->setPointOfInstantiation(PointOfInstantiation); in setTemplateSpecializationKind()
3926 if (FunctionTemplateSpecializationInfo *FTSInfo in getPointOfInstantiation() local
[all …]
DASTImporter.cpp737 auto *FTSInfo = FromFD->getTemplateSpecializationInfo(); in ImportFunctionTemplateWithTemplateArgsFromSpecialization() local
738 if (Error Err = importInto(std::get<0>(Result), FTSInfo->getTemplate())) in ImportFunctionTemplateWithTemplateArgsFromSpecialization()
742 auto TemplArgs = FTSInfo->TemplateArguments->asArray(); in ImportFunctionTemplateWithTemplateArgsFromSpecialization()
3042 auto *FTSInfo = FromFD->getTemplateSpecializationInfo(); in ImportTemplateInformation() local
3044 const auto *FromTAArgsAsWritten = FTSInfo->TemplateArgumentsAsWritten; in ImportTemplateInformation()
3050 ExpectedSLoc POIOrErr = import(FTSInfo->getPointOfInstantiation()); in ImportTemplateInformation()
3057 TemplateSpecializationKind TSK = FTSInfo->getTemplateSpecializationKind(); in ImportTemplateInformation()
/external/clang/lib/AST/
DDecl.cpp3276 FunctionTemplateSpecializationInfo *FTSInfo in getTemplateSpecializationKind() local
3278 if (FTSInfo) in getTemplateSpecializationKind()
3279 return FTSInfo->getTemplateSpecializationKind(); in getTemplateSpecializationKind()
3292 if (FunctionTemplateSpecializationInfo *FTSInfo in setTemplateSpecializationKind() local
3295 FTSInfo->setTemplateSpecializationKind(TSK); in setTemplateSpecializationKind()
3298 FTSInfo->getPointOfInstantiation().isInvalid()) in setTemplateSpecializationKind()
3299 FTSInfo->setPointOfInstantiation(PointOfInstantiation); in setTemplateSpecializationKind()
3312 if (FunctionTemplateSpecializationInfo *FTSInfo in getPointOfInstantiation() local
3315 return FTSInfo->getPointOfInstantiation(); in getPointOfInstantiation()