Searched refs:pack_size (Results 1 – 18 of 18) sorted by relevance
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaTemplateVariadic.cpp | 730 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 D | SemaTemplateDeduction.cpp | 344 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 D | SemaTemplateInstantiate.cpp | 1225 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 D | SemaTemplate.cpp | 3556 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 D | SemaOverload.cpp | 10904 << (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 D | CXType.cpp | 210 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 D | TemplateBase.h | 371 unsigned pack_size() const {
|
| H A D | RecursiveASTVisitor.h | 890 Arg.pack_size()); 931 Arg.pack_size());
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | ASTStructuralEquivalence.cpp | 571 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 D | ODRHash.cpp | 182 ID.AddInteger(TA.pack_size()); in AddTemplateArgument()
|
| H A D | TypePrinter.cpp | 2052 if (Arg.getKind() == TemplateArgument::Pack && Arg.pack_size() == 0) in isSubstitutedDefaultArgument() 2102 if (Argument.pack_size() && !FirstArg) in printTo()
|
| H A D | Type.cpp | 3659 SubstTemplateTypeParmPackTypeBits.NumArgs = ArgPack.pack_size(); in SubstTemplateTypeParmPackType() 3674 ID.AddInteger(ArgPack.pack_size()); in Profile()
|
| H A D | ExprCXX.cpp | 1591 NumArguments(ArgPack.pack_size()), NameLoc(NameLoc) { in SubstNonTypeTemplateParmPackExpr()
|
| H A D | ASTContext.cpp | 6685 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 D | ASTImporter.cpp | 896 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 D | USRGeneration.cpp | 976 Out << 'p' << Arg.pack_size(); in VisitTemplateArgument()
|
| /llvm-project-15.0.7/lldb/source/Plugins/TypeSystem/Clang/ |
| H A D | TypeSystemClang.cpp | 7122 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 D | ASTReaderStmt.cpp | 2135 E->NumArguments = ArgPack.pack_size(); in VisitSubstNonTypeTemplateParmPackExpr()
|