Home
last modified time | relevance | path

Searched refs:pack_size (Results 1 – 18 of 18) sorted by relevance

/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaTemplateVariadic.cpp730 NewPackSize = TemplateArgs(Depth, Index).pack_size(); in CheckParameterPacksForExpansion()
848 unsigned Size = TemplateArgs(Depth, Index).pack_size(); in getNumArgumentsInExpansion()
1166 return Pack.pack_size(); in getFullyPackExpandedSize()
H A DSemaTemplateDeduction.cpp344 X.pack_size() != Y.pack_size()) in checkDeducedTemplateArguments()
2466 if (X.pack_size() != Y.pack_size()) in isSameTemplateArg()
3161 if (!Expansions || Arg.pack_size() < *Expansions) { in SubstituteExplicitTemplateArguments()
3164 Param, Arg.pack_begin(), Arg.pack_size()); in SubstituteExplicitTemplateArguments()
5548 assert(Arg.pack_size() == 1 && Arg.pack_begin()->isPackExpansion()); in isTemplateTemplateParameterAtLeastAsSpecializedAs()
H A DSemaTemplateInstantiate.cpp1225 assert(S.ArgumentPackSubstitutionIndex < (int)Arg.pack_size()); in getPackSubstitutedTemplateArgument()
1388 assert(Arg.pack_size() == 1 && Arg.pack_begin()->isPackExpansion() && in TransformTemplateName()
1461 assert(Arg.pack_size() == 1 && Arg.pack_begin()->isPackExpansion() && in TransformTemplateParmRefExpr()
1802 assert(Arg.pack_size() == 1 && Arg.pack_begin()->isPackExpansion() && in TransformTemplateTypeParmType()
H A DSemaTemplate.cpp3556 if (Index >= Ts.pack_size()) { in checkBuiltinTemplateIdType()
4219 if (Arg.getKind() != TemplateArgument::Pack || Arg.pack_size() != 1 || in isSameAsPrimaryTemplate()
8177 Args[I].pack_size(), IsDefaultArgument)) in CheckNonTypeTemplatePartialSpecializationArgs()
H A DSemaOverload.cpp10904 << (DeductionFailure.getFirstArg()->pack_size() + 1) in DiagnoseBadDeduction()
10967 DeductionFailure.getFirstArg()->pack_size() != in DiagnoseBadDeduction()
10968 DeductionFailure.getSecondArg()->pack_size()) { in DiagnoseBadDeduction()
/llvm-project-15.0.7/clang/tools/libclang/
H A DCXType.cpp210 if (index < current + A.pack_size()) in FindTemplateArgumentTypeAt()
212 current += A.pack_size(); in FindTemplateArgumentTypeAt()
1145 size += Arg.pack_size() - 1; in GetTemplateArgumentArraySize()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DTemplateBase.h371 unsigned pack_size() const {
H A DRecursiveASTVisitor.h890 Arg.pack_size());
931 Arg.pack_size());
/llvm-project-15.0.7/clang/lib/AST/
H A DASTStructuralEquivalence.cpp571 if (Arg1.pack_size() != Arg2.pack_size()) in IsStructurallyEquivalent()
574 for (unsigned I = 0, N = Arg1.pack_size(); I != N; ++I) in IsStructurallyEquivalent()
H A DODRHash.cpp182 ID.AddInteger(TA.pack_size()); in AddTemplateArgument()
H A DTypePrinter.cpp2052 if (Arg.getKind() == TemplateArgument::Pack && Arg.pack_size() == 0) in isSubstitutedDefaultArgument()
2102 if (Argument.pack_size() && !FirstArg) in printTo()
H A DType.cpp3659 SubstTemplateTypeParmPackTypeBits.NumArgs = ArgPack.pack_size(); in SubstTemplateTypeParmPackType()
3674 ID.AddInteger(ArgPack.pack_size()); in Profile()
H A DExprCXX.cpp1591 NumArguments(ArgPack.pack_size()), NameLoc(NameLoc) { in SubstNonTypeTemplateParmPackExpr()
H A DASTContext.cpp6685 if (Arg.pack_size() == 0) in getCanonicalTemplateArgument()
6688 auto *CanonArgs = new (*this) TemplateArgument[Arg.pack_size()]; in getCanonicalTemplateArgument()
6695 return TemplateArgument(llvm::makeArrayRef(CanonArgs, Arg.pack_size())); in getCanonicalTemplateArgument()
9192 ArgPack.pack_size(), in getSubstTemplateTemplateParmPack()
H A DASTImporter.cpp896 ToPack.reserve(From.pack_size()); in import()
898 From.pack_begin(), From.pack_size(), ToPack)) in import()
/llvm-project-15.0.7/clang/lib/Index/
H A DUSRGeneration.cpp976 Out << 'p' << Arg.pack_size(); in VisitTemplateArgument()
/llvm-project-15.0.7/lldb/source/Plugins/TypeSystem/Clang/
H A DTypeSystemClang.cpp7122 num_args += pack.pack_size() - 1; in GetNumTemplateArguments()
7189 const size_t pack_size = pack.pack_size(); in GetNthTemplateArgument() local
7190 assert(pack_idx < pack_size && "parameter pack index out-of-bounds"); in GetNthTemplateArgument()
/llvm-project-15.0.7/clang/lib/Serialization/
H A DASTReaderStmt.cpp2135 E->NumArguments = ArgPack.pack_size(); in VisitSubstNonTypeTemplateParmPackExpr()