/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaTemplateDeduction.cpp | 137 Sema &S, TemplateParameterList *TemplateParams, QualType Param, 144 DeduceTemplateArguments(Sema &S, TemplateParameterList *TemplateParams, 399 Sema &S, TemplateParameterList *TemplateParams, in DeduceNonTypeTemplateArgument() argument 445 S, TemplateParams, ParamType, ValueType, Info, Deduced, in DeduceNonTypeTemplateArgument() 453 Sema &S, TemplateParameterList *TemplateParams, in DeduceNonTypeTemplateArgument() argument 458 S, TemplateParams, NTTP, in DeduceNonTypeTemplateArgument() 467 Sema &S, TemplateParameterList *TemplateParams, in DeduceNullPtrTemplateArgument() argument 478 return DeduceNonTypeTemplateArgument(S, TemplateParams, NTTP, in DeduceNullPtrTemplateArgument() 488 Sema &S, TemplateParameterList *TemplateParams, in DeduceNonTypeTemplateArgument() argument 492 return DeduceNonTypeTemplateArgument(S, TemplateParams, NTTP, in DeduceNonTypeTemplateArgument() [all …]
|
H A D | SemaLambda.cpp | 235 if (!LSI->GLTemplateParameterList && !LSI->TemplateParams.empty()) { in getGenericLambdaTemplateParameterList() 240 LSI->TemplateParams, in getGenericLambdaTemplateParameterList() 365 TemplateParameterList *TemplateParams, in buildTypeForLambdaCallOperator() argument 373 if (Class->isDependentContext() || TemplateParams) { in buildTypeForLambdaCallOperator() 552 assert(LSI->TemplateParams.empty() && in ActOnLambdaExplicitTemplateParameterList() 557 LSI->TemplateParams.append(TParams.begin(), TParams.end()); in ActOnLambdaExplicitTemplateParameterList() 999 TemplateParameterList *TemplateParams) { in AddTemplateParametersToLambdaCallOperator() argument 1000 assert(TemplateParams && "no template parameters"); in AddTemplateParametersToLambdaCallOperator() 1003 TemplateParams, CallOperator); in AddTemplateParametersToLambdaCallOperator() 1020 TemplateParameterList *TemplateParams = in CompleteLambdaCallOperator() local [all …]
|
H A D | SemaTemplateDeductionGuide.cpp | 199 TemplateParameterList *TemplateParams, CXXConstructorDecl *Ctor, in buildDeductionGuide() argument 226 if (!TemplateParams) { 232 SemaRef.Context, DC, Loc, DeductionGuideName, TemplateParams, Guide); 340 TemplateParameterList *TemplateParams = in transformConstructor() local 346 AllParams.reserve(TemplateParams->size() + InnerParams->size()); in transformConstructor() 347 AllParams.insert(AllParams.begin(), TemplateParams->begin(), in transformConstructor() 348 TemplateParams->end()); in transformConstructor() 399 TemplateParams = TemplateParameterList::Create( in transformConstructor() 433 SemaRef, Template, TemplateParams, CD, CD->getExplicitSpecifier(), in transformConstructor() 902 SmallVector<NamedDecl *> TemplateParams) { in buildIsDeducibleConstraint() argument [all …]
|
H A D | SemaTemplate.cpp | 75 if (!LSI->TemplateParams.empty()) { in getTemplateDepth() 90 if (!Info.TemplateParams.empty()) { in getTemplateDepth() 1797 const ParsedAttributesView &Attr, TemplateParameterList *TemplateParams, in CheckClassTemplate() argument 1801 assert(TemplateParams && TemplateParams->size() > 0 && in CheckClassTemplate() 1808 if (CheckTemplateDeclScope(S, TemplateParams)) in CheckClassTemplate() 1851 if (RebuildTemplateParamsInCurrentInstantiation(TemplateParams)) in CheckClassTemplate() 1975 TemplateParams, PrevClassTemplate, in CheckClassTemplate() 2035 TemplateParams, in CheckClassTemplate() 2086 DeclarationName(Name), TemplateParams, in CheckClassTemplate() 3866 noteNonDeducibleParameters(Sema &S, TemplateParameterList *TemplateParams, in noteNonDeducibleParameters() argument [all …]
|
H A D | SemaTemplateInstantiateDecl.cpp | 2096 FunctionDecl *D, TemplateParameterList *TemplateParams, in VisitFunctionDecl() argument 2101 if (FunctionTemplate && !TemplateParams) { in VisitFunctionDecl() 2119 bool MergeWithParentScope = (TemplateParams != nullptr) || in VisitFunctionDecl() 2139 if (TemplateParams && TemplateParams->size()) { in VisitFunctionDecl() 2141 dyn_cast<TemplateTypeParmDecl>(TemplateParams->asArray().back()); in VisitFunctionDecl() 2149 TemplateParams = TemplateParameterList::Create( in VisitFunctionDecl() 2150 SemaRef.Context, TemplateParams->getTemplateLoc(), in VisitFunctionDecl() 2151 TemplateParams->getLAngleLoc(), TemplateParams->asArray(), in VisitFunctionDecl() 2152 TemplateParams->getRAngleLoc(), TemplateParams->getRequiresClause()); in VisitFunctionDecl() 2237 if (TemplateParams) { in VisitFunctionDecl() [all …]
|
H A D | HLSLExternalSemaSource.cpp | 431 llvm::SmallVector<NamedDecl *> TemplateParams; in defineHLSLVectorAlias() local 440 TemplateParams.emplace_back(TypeParam); in defineHLSLVectorAlias() 452 TemplateParams.emplace_back(SizeParam); in defineHLSLVectorAlias() 456 TemplateParams, SourceLocation(), nullptr); in defineHLSLVectorAlias()
|
H A D | SemaConcept.cpp | 1448 TemplateParameterList *TemplateParams = Concept->getTemplateParameters(); in substituteParameterMappings() local 1453 llvm::SmallBitVector OccurringIndices(TemplateParams->size()); in substituteParameterMappings() 1458 for (unsigned I = 0, J = 0, C = TemplateParams->size(); I != C; ++I) in substituteParameterMappings() 1462 TemplateParams->begin()[I], in substituteParameterMappings()
|
H A D | SemaTemplateInstantiate.cpp | 1052 TemplateParameterList *TemplateParams = nullptr; in PrintInstantiationStack() local 1054 TemplateParams = Template->getTemplateParameters(); in PrintInstantiationStack() 1056 TemplateParams = in PrintInstantiationStack() 1063 << getTemplateArgumentBindingsText(TemplateParams, in PrintInstantiationStack() 1071 TemplateParameterList *TemplateParams = nullptr; in PrintInstantiationStack() local 1073 TemplateParams = Template->getTemplateParameters(); in PrintInstantiationStack() 1075 TemplateParams = in PrintInstantiationStack() 1081 << getTemplateArgumentBindingsText(TemplateParams, in PrintInstantiationStack()
|
/freebsd/contrib/llvm-project/clang/lib/Parse/ |
H A D | ParseTemplate.cpp | 131 SmallVector<NamedDecl*, 4> TemplateParams; in ParseTemplateDeclarationOrSpecialization() local 134 TemplateParams, LAngleLoc, RAngleLoc)) { in ParseTemplateDeclarationOrSpecialization() 142 if (!TemplateParams.empty()) { in ParseTemplateDeclarationOrSpecialization() 163 TemplateParams, RAngleLoc, OptionalRequiresClauseConstraintER.get())); in ParseTemplateDeclarationOrSpecialization() 244 TemplateInfo.TemplateParams ? *TemplateInfo.TemplateParams in ParseDeclarationAfterTemplate() 343 *TemplateInfo.TemplateParams, Id, IdLoc, in ParseConceptDefinition() 358 SmallVectorImpl<NamedDecl *> &TemplateParams, SourceLocation &LAngleLoc, in ParseTemplateParameters() argument 371 Failed = ParseTemplateParameterList(Depth, TemplateParams); in ParseTemplateParameters() 400 SmallVectorImpl<NamedDecl*> &TemplateParams) { in ParseTemplateParameterList() argument 404 = ParseTemplateParameter(Depth, TemplateParams.size())) { in ParseTemplateParameterList() [all …]
|
H A D | ParseDeclCXX.cpp | 992 TemplateParameterLists *TemplateParams = TemplateInfo.TemplateParams; in ParseAliasDeclarationAfterDeclarator() local 994 TemplateParams ? TemplateParams->data() : nullptr, in ParseAliasDeclarationAfterDeclarator() 995 TemplateParams ? TemplateParams->size() : 0); in ParseAliasDeclarationAfterDeclarator() 1872 if (TemplateInfo.TemplateParams) in ParseClassSpecifier() 1873 Spec.setTemplateParamLists(*TemplateInfo.TemplateParams); in ParseClassSpecifier() 1891 TemplateParameterLists *TemplateParams = TemplateInfo.TemplateParams; in ParseClassSpecifier() local 1903 if (TemplateParams && TemplateInfo.LastParameterListWasEmpty) { in ParseClassSpecifier() 1904 if (TemplateParams->size() > 1) { in ParseClassSpecifier() 1905 TemplateParams->pop_back(); in ParseClassSpecifier() 1907 TemplateParams = nullptr; in ParseClassSpecifier() [all …]
|
H A D | ParseCXXInlineMethods.cpp | 77 MultiTemplateParamsArg TemplateParams( in ParseCXXInlineMethodDef() local 78 TemplateInfo.TemplateParams ? TemplateInfo.TemplateParams->data() in ParseCXXInlineMethodDef() 80 TemplateInfo.TemplateParams ? TemplateInfo.TemplateParams->size() : 0); in ParseCXXInlineMethodDef() 85 TemplateParams); in ParseCXXInlineMethodDef() 88 TemplateParams, nullptr, in ParseCXXInlineMethodDef()
|
H A D | Parser.cpp | 1352 MultiTemplateParamsArg TemplateParameterLists(*TemplateInfo.TemplateParams); in ParseFunctionDefinition() 1381 !TemplateInfo.TemplateParams && in ParseFunctionDefinition() 1450 TemplateInfo.TemplateParams in ParseFunctionDefinition() 1451 ? *TemplateInfo.TemplateParams in ParseFunctionDefinition()
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | LLVMContextImpl.h | 644 Metadata *TemplateParams; 657 Metadata *VTableHolder, Metadata *TemplateParams, 665 TemplateParams(TemplateParams), Identifier(Identifier), 676 TemplateParams(N->getRawTemplateParams()), 693 TemplateParams == RHS->getRawTemplateParams() && 708 TemplateParams, Annotations); 771 Metadata *TemplateParams; 782 unsigned SPFlags, Metadata *Unit, Metadata *TemplateParams, 790 Unit(Unit), TemplateParams(TemplateParams), Declaration(Declaration), 801 TemplateParams(N->getRawTemplateParams()), [all …]
|
H A D | DebugInfoMetadata.cpp | 769 Metadata *TemplateParams, MDString *Identifier, Metadata *Discriminator, in getImpl() argument 779 RuntimeLang, VTableHolder, TemplateParams, Identifier, in getImpl() 783 Elements, VTableHolder, TemplateParams, Identifier, in getImpl() 797 Metadata *VTableHolder, Metadata *TemplateParams, Metadata *Discriminator, in buildODRType() argument 808 VTableHolder, TemplateParams, &Identifier, Discriminator, in buildODRType() 823 Elements, VTableHolder, TemplateParams, &Identifier, in buildODRType() 839 Metadata *VTableHolder, Metadata *TemplateParams, Metadata *Discriminator, in getODRType() argument 850 TemplateParams, &Identifier, Discriminator, DataLocation, Associated, in getODRType() 1128 Metadata *TemplateParams, Metadata *Declaration, Metadata *RetainedNodes, in getImpl() argument 1137 SPFlags, Unit, TemplateParams, Declaration, in getImpl() [all …]
|
H A D | DIBuilder.cpp | 506 unsigned RunTimeLang, DIType *VTableHolder, MDNode *TemplateParams, in createClassType() argument 515 cast_or_null<MDTuple>(TemplateParams), UniqueIdentifier); in createClassType() 756 DIExpression *Expr, MDNode *Decl, MDTuple *TemplateParams, in createGlobalVariableExpression() argument 763 cast_or_null<DIDerivedType>(Decl), TemplateParams, AlignInBits, in createGlobalVariableExpression() 775 MDTuple *TemplateParams, uint32_t AlignInBits) { in createTempGlobalVariableFwdDecl() argument 781 cast_or_null<DIDerivedType>(Decl), TemplateParams, AlignInBits, in createTempGlobalVariableFwdDecl()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | DebugInfoMetadata.h | 1182 DITemplateParameterArray TemplateParams, StringRef Identifier, 1190 RuntimeLang, VTableHolder, TemplateParams.get(), 1199 Metadata *VTableHolder, Metadata *TemplateParams, 1221 DITemplateParameterArray TemplateParams = nullptr, 1227 OffsetInBits, Flags, Elements, RuntimeLang, VTableHolder, TemplateParams, 1236 Metadata *TemplateParams = nullptr, MDString *Identifier = nullptr, 1241 OffsetInBits, Flags, Elements, RuntimeLang, VTableHolder, TemplateParams, 1260 Metadata *TemplateParams, Metadata *Discriminator, 1281 Metadata *TemplateParams, Metadata *Discriminator, 1362 void replaceTemplateParams(DITemplateParameterArray TemplateParams) { in replaceTemplateParams() argument [all …]
|
H A D | DIBuilder.h | 722 MDTuple *TemplateParams = nullptr, uint32_t AlignInBits = 0, 730 MDTuple *TemplateParams = nullptr, uint32_t AlignInBits = 0);
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Demangle/ |
H A D | ItaniumDemangle.h | 1769 NodeArray TemplateParams; variable 1779 : Node(KClosureTypeName), TemplateParams(TemplateParams_), in ClosureTypeName() 1784 F(TemplateParams, Requires1, Params, Requires2, Count); in match() 1788 if (!TemplateParams.empty()) { in printDeclarator() 1791 TemplateParams.printWithComma(OB); in printDeclarator() 2633 OldNumTemplateParamLists(TheParser->TemplateParams.size()) { in ScopedTemplateParamList() 2634 Parser->TemplateParams.push_back(&Params); in ScopedTemplateParamList() 2637 DEMANGLE_ASSERT(Parser->TemplateParams.size() >= OldNumTemplateParamLists, in ~ScopedTemplateParamList() 2639 Parser->TemplateParams.shrinkToSize(OldNumTemplateParamLists); in ~ScopedTemplateParamList() 2654 PODSmallVector<TemplateParamList *, 4> TemplateParams; member [all …]
|
/freebsd/contrib/llvm-project/clang/include/clang/AST/ |
H A D | DeclTemplate.h | 414 return TemplateParams; in getTemplateParameters() 445 TemplateParameterList *TemplateParams; variable 449 TemplateParams = TParams; in setTemplateParameters() 2076 TemplateParameterList* TemplateParams = nullptr; 2120 return TemplateParams; 2130 TemplateParams->getAssociatedConstraints(AC); 2134 return TemplateParams->hasAssociatedConstraints(); 2841 TemplateParameterList *TemplateParams = nullptr; 2886 return TemplateParams; 2896 TemplateParams->getAssociatedConstraints(AC); [all …]
|
/freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
H A D | Template.h | 635 TemplateParameterList *TemplateParams, 638 TemplateParameterList *TemplateParams,
|
/freebsd/contrib/llvm-project/llvm/lib/Demangle/ |
H A D | MicrosoftDemangleNodes.cpp | 223 if (!TemplateParams) in outputTemplateParameters() 226 TemplateParams->output(OB, Flags); in outputTemplateParameters()
|
/freebsd/contrib/llvm-project/clang/include/clang/Serialization/ |
H A D | ASTRecordWriter.h | 273 void AddTemplateParameterList(const TemplateParameterList *TemplateParams);
|
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | DeclTemplate.cpp | 266 : NamedDecl(DK, DC, L, Name), TemplatedDecl(Decl), TemplateParams(Params) {} in TemplateDecl() 272 TemplateParams->getAssociatedConstraints(AC); in getAssociatedConstraints() 279 if (TemplateParams->hasAssociatedConstraints()) in hasAssociatedConstraints() 1139 TemplateParams(Params), InstantiatedFromMember(nullptr, false) { in ClassTemplatePartialSpecializationDecl() 1495 TemplateParams(Params), InstantiatedFromMember(nullptr, false) { in VarTemplatePartialSpecializationDecl()
|
/freebsd/contrib/llvm-project/clang/include/clang/Parse/ |
H A D | Parser.h | 1576 ParsedTemplateInfo() : Kind(NonTemplate), TemplateParams(nullptr) {} in ParsedTemplateInfo() 1578 ParsedTemplateInfo(TemplateParameterLists *TemplateParams, 1582 TemplateParams(TemplateParams), 1587 : Kind(ExplicitInstantiation), TemplateParams(nullptr), in ParsedTemplateInfo() 1605 TemplateParameterLists *TemplateParams; member 3796 SmallVectorImpl<NamedDecl *> &TemplateParams, 3800 SmallVectorImpl<NamedDecl*> &TemplateParams);
|
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Reader/ |
H A D | MetadataLoader.cpp | 1626 Metadata *TemplateParams = nullptr; in parseOneMetadata() local 1660 TemplateParams = getMDOrNull(Record[14]); in parseOneMetadata() 1666 TemplateParams = getMDOrNull(Record[14]); in parseOneMetadata() 1687 VTableHolder, TemplateParams, Discriminator, DataLocation, Associated, in parseOneMetadata() 1695 Elements, RuntimeLang, VTableHolder, TemplateParams, in parseOneMetadata()
|