/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | TemplateBase.cpp | 732 NumTemplateArgs = Info.size(); in ASTTemplateArgumentListInfo() 735 for (unsigned i = 0; i != NumTemplateArgs; ++i) in ASTTemplateArgumentListInfo() 743 NumTemplateArgs = Info->getNumTemplateArgs(); in ASTTemplateArgumentListInfo() 746 for (unsigned i = 0; i != NumTemplateArgs; ++i) in ASTTemplateArgumentListInfo() 756 NumTemplateArgs = Info.size(); in initializeFrom() 758 for (unsigned i = 0; i != NumTemplateArgs; ++i) in initializeFrom() 767 NumTemplateArgs = 0; in initializeFrom() 776 NumTemplateArgs = Info.size(); in initializeFrom() 778 for (unsigned i = 0; i != NumTemplateArgs; ++i) { in initializeFrom() 789 for (unsigned I = 0; I != NumTemplateArgs; ++I) in copyInto()
|
H A D | ExprCXX.cpp | 445 unsigned NumTemplateArgs = Args ? Args->size() : 0; in Create() local 448 NumResults, HasTemplateKWAndArgsInfo, NumTemplateArgs); in Create() 457 bool HasTemplateKWAndArgsInfo, unsigned NumTemplateArgs) { in CreateEmpty() argument 458 assert(NumTemplateArgs == 0 || HasTemplateKWAndArgsInfo); in CreateEmpty() 461 NumResults, HasTemplateKWAndArgsInfo, NumTemplateArgs); in CreateEmpty() 549 unsigned NumTemplateArgs) { in CreateEmpty() argument 550 assert(NumTemplateArgs == 0 || HasTemplateKWAndArgsInfo); in CreateEmpty() 553 HasTemplateKWAndArgsInfo, NumTemplateArgs); in CreateEmpty() 1542 unsigned NumTemplateArgs = TemplateArgs ? TemplateArgs->size() : 0; in Create() local 1547 HasTemplateKWAndArgsInfo, NumTemplateArgs, HasFirstQualifierFoundInScope); in Create() [all …]
|
H A D | DeclTemplate.cpp | 1095 NumTemplateArgs(ConvertedArgs.size()) { in ImplicitConceptSpecializationDecl() 1100 EmptyShell Empty, unsigned NumTemplateArgs) in ImplicitConceptSpecializationDecl() argument 1102 NumTemplateArgs(NumTemplateArgs) {} in ImplicitConceptSpecializationDecl() 1114 const ASTContext &C, GlobalDeclID ID, unsigned NumTemplateArgs) { in CreateDeserialized() argument 1115 return new (C, ID, additionalSizeToAlloc<TemplateArgument>(NumTemplateArgs)) in CreateDeserialized() 1116 ImplicitConceptSpecializationDecl(EmptyShell{}, NumTemplateArgs); in CreateDeserialized() 1121 assert(Converted.size() == NumTemplateArgs); in setTemplateArguments()
|
H A D | ItaniumMangle.cpp | 505 unsigned NumTemplateArgs, 600 unsigned NumTemplateArgs, 614 unsigned NumTemplateArgs); 1424 const TemplateArgumentLoc *TemplateArgs, unsigned NumTemplateArgs, in mangleUnresolvedName() argument 1459 mangleTemplateArgs(TemplateName(), TemplateArgs, NumTemplateArgs); in mangleUnresolvedName() 4505 unsigned NumTemplateArgs, in mangleMemberExpr() argument 4511 mangleUnresolvedName(qualifier, member, TemplateArgs, NumTemplateArgs, arity); in mangleMemberExpr() 5997 unsigned NumTemplateArgs) { in mangleTemplateArgs() argument 6001 for (unsigned i = 0; i != NumTemplateArgs; ++i) { in mangleTemplateArgs()
|
H A D | Expr.cpp | 533 unsigned NumTemplateArgs) { in CreateEmpty() argument 534 assert(NumTemplateArgs == 0 || HasTemplateKWAndArgsInfo); in CreateEmpty() 539 NumTemplateArgs); in CreateEmpty() 1779 unsigned NumTemplateArgs) { in CreateEmpty() argument 1780 assert((!NumTemplateArgs || HasTemplateKWAndArgsInfo) && in CreateEmpty() 1786 NumTemplateArgs); in CreateEmpty()
|
H A D | ASTContext.cpp | 6759 ->NumTemplateArgs != in isSameTypeConstraint() 6760 YTC->getConceptReference()->getTemplateArgsAsWritten()->NumTemplateArgs) in isSameTypeConstraint()
|
/freebsd/contrib/llvm-project/clang/lib/Serialization/ |
H A D | ASTReaderStmt.cpp | 121 unsigned NumTemplateArgs); 133 unsigned NumTemplateArgs) { in ReadTemplateKWAndArgsInfo() argument 138 for (unsigned i = 0; i != NumTemplateArgs; ++i) in ReadTemplateKWAndArgsInfo() 614 unsigned NumTemplateArgs = 0; in VisitDeclRefExpr() local 616 NumTemplateArgs = Record.readInt(); in VisitDeclRefExpr() 628 E->getTrailingObjects<TemplateArgumentLoc>(), NumTemplateArgs); in VisitDeclRefExpr() 1048 unsigned NumTemplateArgs = Record.readInt(); in VisitMemberExpr() local 1076 E->getTrailingObjects<TemplateArgumentLoc>(), NumTemplateArgs); in VisitMemberExpr() 1993 unsigned NumTemplateArgs = Record.readInt(); in VisitCXXDependentScopeMemberExpr() local 2007 E->getTrailingObjects<TemplateArgumentLoc>(), NumTemplateArgs); in VisitCXXDependentScopeMemberExpr() [all …]
|
H A D | ASTWriterStmt.cpp | 124 for (unsigned i = 0; i != ArgInfo.NumTemplateArgs; ++i) in AddTemplateKWAndArgsInfo() 685 unsigned NumTemplateArgs = E->getNumTemplateArgs(); in VisitDeclRefExpr() local 686 Record.push_back(NumTemplateArgs); in VisitDeclRefExpr() 978 unsigned NumTemplateArgs = E->getNumTemplateArgs(); in VisitMemberExpr() local 986 Record.push_back(NumTemplateArgs); in VisitMemberExpr() 2033 CurrentPackingBits.addBits(ArgInfo.NumTemplateArgs, /*Width=*/16); in VisitDependentScopeDeclRefExpr() 2067 Record.push_back(ArgInfo.NumTemplateArgs); in VisitOverloadExpr()
|
H A D | ASTReader.cpp | 9263 unsigned NumTemplateArgs = readInt(); in readTemplateArgumentList() local 9264 TemplArgs.reserve(NumTemplateArgs); in readTemplateArgumentList() 9265 while (NumTemplateArgs--) in readTemplateArgumentList()
|
H A D | ASTWriter.cpp | 6480 Record->push_back(ASTTemplArgList->NumTemplateArgs); in AddASTTemplateArgumentListInfo() 6482 for (int i = 0, e = ASTTemplArgList->NumTemplateArgs; i != e; ++i) in AddASTTemplateArgumentListInfo()
|
H A D | ASTReaderDecl.cpp | 2393 for (unsigned I = 0; I < D->NumTemplateArgs; ++I) in VisitImplicitConceptSpecializationDecl()
|
/freebsd/contrib/llvm-project/clang/include/clang/AST/ |
H A D | TemplateBase.h | 694 unsigned NumTemplateArgs; 703 unsigned getNumTemplateArgs() const { return NumTemplateArgs; } 742 unsigned NumTemplateArgs;
|
H A D | ExprCXX.h | 3146 return getTrailingASTTemplateKWAndArgsInfo()->NumTemplateArgs; in getNumTemplateArgs() 3267 unsigned NumTemplateArgs); 3355 unsigned NumTemplateArgs); 3427 return getTrailingObjects<ASTTemplateKWAndArgsInfo>()->NumTemplateArgs; in getNumTemplateArgs() 3763 unsigned NumTemplateArgs, bool HasFirstQualifierFoundInScope); 3884 return getTrailingObjects<ASTTemplateKWAndArgsInfo>()->NumTemplateArgs; in getNumTemplateArgs() 4005 unsigned NumTemplateArgs);
|
H A D | DeclTemplate.h | 3191 unsigned NumTemplateArgs; 3195 ImplicitConceptSpecializationDecl(EmptyShell Empty, unsigned NumTemplateArgs); 3203 unsigned NumTemplateArgs); 3207 NumTemplateArgs);
|
H A D | RecursiveASTVisitor.h | 2075 ArgsWritten->getTemplateArgs(), ArgsWritten->NumTemplateArgs)); \ 2103 D->getTemplateArgsAsWritten()->NumTemplateArgs)); \ 2199 TALI->NumTemplateArgs)); 2207 TALI->NumTemplateArgs)); 2576 CR->getTemplateArgsAsWritten()->NumTemplateArgs));
|
H A D | Expr.h | 1331 unsigned NumTemplateArgs); 1437 return getTrailingObjects<ASTTemplateKWAndArgsInfo>()->NumTemplateArgs; in getNumTemplateArgs() 3261 unsigned NumTemplateArgs); 3356 return getTrailingObjects<ASTTemplateKWAndArgsInfo>()->NumTemplateArgs; in getNumTemplateArgs()
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaConcept.cpp | 1183 if (ConstraintExpr->getTemplateArgsAsWritten()->NumTemplateArgs == 1) { in diagnoseUnsatisfiedRequirement() 1316 if (CSE->getTemplateArgsAsWritten()->NumTemplateArgs == 1) { in diagnoseWellFormedUnsatisfiedConstraintExpr() 1471 ArgsAsWritten->NumTemplateArgs > I in substituteParameterMappings()
|
H A D | SemaTemplateInstantiate.cpp | 603 Inst.NumTemplateArgs = TemplateArgs.size(); in InstantiatingTemplate() 987 Active->NumTemplateArgs) in PrintInstantiationStack() 1000 Active->NumTemplateArgs) in PrintInstantiationStack() 1024 Active->NumTemplateArgs) in PrintInstantiationStack() 1065 Active->NumTemplateArgs) in PrintInstantiationStack() 1083 Active->NumTemplateArgs) in PrintInstantiationStack()
|
H A D | TreeTransform.h | 13864 Old->NumTemplateArgs, TransArgs)) in TransformConceptSpecializationExpr()
|
/freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
H A D | Sema.h | 12794 unsigned NumTemplateArgs; member 12805 return {TemplateArgs, NumTemplateArgs}; in template_arguments() 12820 Template(nullptr), TemplateArgs(nullptr), NumTemplateArgs(0), in CodeSynthesisContext()
|