Searched refs:ArgPackSubstIndex (Results 1 – 16 of 16) sorted by relevance
| /freebsd/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | ASTConcept.h | 233 UnsignedOrNone ArgPackSubstIndex; variable 238 UnsignedOrNone ArgPackSubstIndex) in TypeConstraint() argument 240 ConceptRef(ConceptRef), ArgPackSubstIndex(ArgPackSubstIndex) {} in TypeConstraint() 251 UnsignedOrNone getArgPackSubstIndex() const { return ArgPackSubstIndex; } in getArgPackSubstIndex()
|
| H A D | Decl.h | 88 UnsignedOrNone ArgPackSubstIndex = std::nullopt; member 93 UnsignedOrNone ArgPackSubstIndex = std::nullopt) 94 : ConstraintExpr(ConstraintExpr), ArgPackSubstIndex(ArgPackSubstIndex) {} in ConstraintExpr()
|
| H A D | DeclTemplate.h | 1325 UnsignedOrNone ArgPackSubstIndex);
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaTemplateInstantiate.cpp | 1373 assert(S.ArgPackSubstIndex); in getPackSubstitutedTemplateArgument() 1374 assert(*S.ArgPackSubstIndex < Arg.pack_size()); in getPackSubstitutedTemplateArgument() 1375 Arg = Arg.pack_begin()[*S.ArgPackSubstIndex]; in getPackSubstitutedTemplateArgument() 1448 UnsignedOrNone Index = getSema().ArgPackSubstIndex; in getPackIndex() 1517 if (SemaRef.ArgPackSubstIndex) in getTemplateArgumentPackPatternForRewrite() 2042 if (!getSema().ArgPackSubstIndex) in TransformFirstQualifierInScope() 2152 if (!getSema().ArgPackSubstIndex) { in TransformTemplateName() 2174 if (!getSema().ArgPackSubstIndex) in TransformTemplateName() 2231 if (!getSema().ArgPackSubstIndex) { in TransformTemplateParmRefExpr() 2356 T = parm->getExpansionType(*SemaRef.ArgPackSubstIndex); in transformNonTypeTemplateParmRef() [all …]
|
| H A D | SemaTemplateDeductionGuide.cpp | 469 FunctionTrailingRC = AssociatedConstraint(E.get(), RC.ArgPackSubstIndex); in transformConstructor() 494 FunctionTrailingRC.ArgPackSubstIndex); in transformConstructor() 1300 Constraint.ArgPackSubstIndex = RC.ArgPackSubstIndex; in DeclareImplicitDeductionGuidesForTypeAlias()
|
| H A D | SemaTemplateInstantiateDecl.cpp | 4084 D->getEllipsisLoc().isValid() && SemaRef.ArgPackSubstIndex; in instantiateUnresolvedUsingDecl() 6801 BD && BD->isParameterPack() && ArgPackSubstIndex) { in FindInstantiatedDecl() 6802 return BD->getBindingPackDecls()[*ArgPackSubstIndex]; in FindInstantiatedDecl() 6807 assert(ArgPackSubstIndex && in FindInstantiatedDecl() 6811 (*cast<DeclArgumentPack *>(*Found))[*ArgPackSubstIndex]); in FindInstantiatedDecl()
|
| H A D | SemaConcept.cpp | 591 Sema::ArgPackSubstIndexRAII _(S, AC.ArgPackSubstIndex); in CheckConstraintSatisfaction()
|
| H A D | Sema.cpp | 328 ArgPackSubstIndex(std::nullopt), SatisfactionCache(Context) { in Sema()
|
| H A D | TreeTransform.h | 168 bool AlwaysRebuild() { return static_cast<bool>(SemaRef.ArgPackSubstIndex); } in AlwaysRebuild() 15706 if (!TRC.ArgPackSubstIndex) in TransformLambdaExpr() 15707 TRC.ArgPackSubstIndex = SemaRef.ArgPackSubstIndex; in TransformLambdaExpr()
|
| H A D | SemaOverload.cpp | 1564 if (NewRC.ArgPackSubstIndex != OldRC.ArgPackSubstIndex) in IsOverloadOrOverrideImpl()
|
| /freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | Template.h | 605 : SemaRef(SemaRef), SubstIndex(SemaRef, SemaRef.ArgPackSubstIndex), in TemplateDeclInstantiator()
|
| H A D | Sema.h | 13448 UnsignedOrNone ArgPackSubstIndex; variable 13461 OldSubstIndex(std::exchange(Self.ArgPackSubstIndex, NewSubstIndex)) {} in ArgPackSubstIndexRAII() 13463 ~ArgPackSubstIndexRAII() { Self.ArgPackSubstIndex = OldSubstIndex; } in ~ArgPackSubstIndexRAII()
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ |
| H A D | DeclTemplate.cpp | 750 UnsignedOrNone ArgPackSubstIndex) { in setTypeConstraint() argument 757 TypeConstraint(Loc, ImmediatelyDeclaredConstraint, ArgPackSubstIndex); in setTypeConstraint()
|
| H A D | ASTContext.cpp | 7248 if (ACX.ArgPackSubstIndex != ACY.ArgPackSubstIndex) in isSameAssociatedConstraint()
|
| /freebsd/contrib/llvm-project/clang/lib/Serialization/ |
| H A D | ASTReaderDecl.cpp | 2706 UnsignedOrNone ArgPackSubstIndex = Record.readUnsignedOrNone(); in VisitTemplateTypeParmDecl() local 2708 D->setTypeConstraint(CR, ImmediatelyDeclaredConstraint, ArgPackSubstIndex); in VisitTemplateTypeParmDecl()
|
| H A D | ASTWriterDecl.cpp | 777 Record.writeUnsignedOrNone(Info->TrailingRequiresClause.ArgPackSubstIndex); in VisitDeclaratorDecl()
|