Home
last modified time | relevance | path

Searched refs:ArgPackSubstIndex (Results 1 – 16 of 16) sorted by relevance

/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DASTConcept.h233 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 DDecl.h88 UnsignedOrNone ArgPackSubstIndex = std::nullopt; member
93 UnsignedOrNone ArgPackSubstIndex = std::nullopt)
94 : ConstraintExpr(ConstraintExpr), ArgPackSubstIndex(ArgPackSubstIndex) {} in ConstraintExpr()
H A DDeclTemplate.h1325 UnsignedOrNone ArgPackSubstIndex);
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaTemplateInstantiate.cpp1373 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 DSemaTemplateDeductionGuide.cpp469 FunctionTrailingRC = AssociatedConstraint(E.get(), RC.ArgPackSubstIndex); in transformConstructor()
494 FunctionTrailingRC.ArgPackSubstIndex); in transformConstructor()
1300 Constraint.ArgPackSubstIndex = RC.ArgPackSubstIndex; in DeclareImplicitDeductionGuidesForTypeAlias()
H A DSemaTemplateInstantiateDecl.cpp4084 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 DSemaConcept.cpp591 Sema::ArgPackSubstIndexRAII _(S, AC.ArgPackSubstIndex); in CheckConstraintSatisfaction()
H A DSema.cpp328 ArgPackSubstIndex(std::nullopt), SatisfactionCache(Context) { in Sema()
H A DTreeTransform.h168 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 DSemaOverload.cpp1564 if (NewRC.ArgPackSubstIndex != OldRC.ArgPackSubstIndex) in IsOverloadOrOverrideImpl()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DTemplate.h605 : SemaRef(SemaRef), SubstIndex(SemaRef, SemaRef.ArgPackSubstIndex), in TemplateDeclInstantiator()
H A DSema.h13448 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 DDeclTemplate.cpp750 UnsignedOrNone ArgPackSubstIndex) { in setTypeConstraint() argument
757 TypeConstraint(Loc, ImmediatelyDeclaredConstraint, ArgPackSubstIndex); in setTypeConstraint()
H A DASTContext.cpp7248 if (ACX.ArgPackSubstIndex != ACY.ArgPackSubstIndex) in isSameAssociatedConstraint()
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderDecl.cpp2706 UnsignedOrNone ArgPackSubstIndex = Record.readUnsignedOrNone(); in VisitTemplateTypeParmDecl() local
2708 D->setTypeConstraint(CR, ImmediatelyDeclaredConstraint, ArgPackSubstIndex); in VisitTemplateTypeParmDecl()
H A DASTWriterDecl.cpp777 Record.writeUnsignedOrNone(Info->TrailingRequiresClause.ArgPackSubstIndex); in VisitDeclaratorDecl()