/external/clang/lib/Sema/ |
D | SemaTemplateInstantiate.cpp | 106 if (const TemplateArgumentList *TemplateArgs in getTemplateInstantiationArgs() local 109 Result.addOuterTemplateArguments(TemplateArgs); in getTemplateInstantiationArgs() 186 Inst.TemplateArgs = 0; in InstantiatingTemplate() 209 Inst.TemplateArgs = 0; in InstantiatingTemplate() 220 ArrayRef<TemplateArgument> TemplateArgs, in InstantiatingTemplate() argument 234 Inst.TemplateArgs = TemplateArgs.data(); in InstantiatingTemplate() 235 Inst.NumTemplateArgs = TemplateArgs.size(); in InstantiatingTemplate() 245 ArrayRef<TemplateArgument> TemplateArgs, in InstantiatingTemplate() argument 259 Inst.TemplateArgs = TemplateArgs.data(); in InstantiatingTemplate() 260 Inst.NumTemplateArgs = TemplateArgs.size(); in InstantiatingTemplate() [all …]
|
D | SemaTemplateInstantiateDecl.cpp | 35 TemplateArgs); in SubstQualifier() 51 TemplateArgs); in SubstQualifier() 63 void Sema::InstantiateAttrs(const MultiLevelTemplateArgumentList &TemplateArgs, in InstantiateAttrs() argument 80 TemplateArgs); in InstantiateAttrs() 86 TemplateArgs, in InstantiateAttrs() 106 *this, TemplateArgs); in InstantiateAttrs() 151 DI = SemaRef.SubstType(DI, TemplateArgs, in InstantiateTypedefNameDecl() 185 TemplateArgs); in InstantiateTypedefNameDecl() 197 SemaRef.InstantiateAttrs(TemplateArgs, D, Typedef); in InstantiateTypedefNameDecl() 268 TemplateArgs, in VisitVarDecl() [all …]
|
D | SemaTemplate.cpp | 411 const TemplateArgumentListInfo *TemplateArgs) { in ActOnDependentIdExpression() argument 431 TemplateArgs)); in ActOnDependentIdExpression() 434 return BuildDependentDeclRefExpr(SS, TemplateKWLoc, NameInfo, TemplateArgs); in ActOnDependentIdExpression() 441 const TemplateArgumentListInfo *TemplateArgs) { in BuildDependentDeclRefExpr() argument 446 TemplateArgs)); in BuildDependentDeclRefExpr() 529 TemplateArgumentListInfo &TemplateArgs) { in translateTemplateArguments() argument 531 TemplateArgs.addArgument(translateTemplateArgument(*this, in translateTemplateArguments() 1956 TemplateArgumentListInfo &TemplateArgs) { in CheckTemplateIdType() argument 1967 TemplateArgs); in CheckTemplateIdType() 1974 return Context.getTemplateSpecializationType(Name, TemplateArgs); in CheckTemplateIdType() [all …]
|
D | SemaExprMember.cpp | 228 const TemplateArgumentListInfo *TemplateArgs) { in BuildPossibleImplicitMemberExpr() argument 231 return BuildImplicitMemberExpr(SS, TemplateKWLoc, R, TemplateArgs, true); in BuildPossibleImplicitMemberExpr() 236 return BuildImplicitMemberExpr(SS, TemplateKWLoc, R, TemplateArgs, false); in BuildPossibleImplicitMemberExpr() 245 if (TemplateArgs || TemplateKWLoc.isValid()) in BuildPossibleImplicitMemberExpr() 246 return BuildTemplateIdExpr(SS, TemplateKWLoc, R, false, TemplateArgs); in BuildPossibleImplicitMemberExpr() 443 const TemplateArgumentListInfo *TemplateArgs) { in ActOnDependentMemberExpr() argument 475 NameInfo, TemplateArgs)); in ActOnDependentMemberExpr() 642 const TemplateArgumentListInfo *TemplateArgs) { in BuildMemberReferenceExpr() argument 648 NameInfo, TemplateArgs); in BuildMemberReferenceExpr() 658 OpLoc, SS, TemplateArgs != 0)) in BuildMemberReferenceExpr() [all …]
|
D | SemaCXXScopeSpec.cpp | 771 TemplateArgumentListInfo TemplateArgs(LAngleLoc, RAngleLoc); in ActOnCXXNestedNameSpecifier() local 772 translateTemplateArguments(TemplateArgsIn, TemplateArgs); in ActOnCXXNestedNameSpecifier() 782 TemplateArgs); in ActOnCXXNestedNameSpecifier() 794 for (unsigned I = 0, N = TemplateArgs.size(); I != N; ++I) in ActOnCXXNestedNameSpecifier() 795 SpecTL.setArgLocInfo(I, TemplateArgs[I].getLocInfo()); in ActOnCXXNestedNameSpecifier() 818 TemplateArgs); in ActOnCXXNestedNameSpecifier() 838 for (unsigned I = 0, N = TemplateArgs.size(); I != N; ++I) in ActOnCXXNestedNameSpecifier() 839 SpecTL.setArgLocInfo(I, TemplateArgs[I].getLocInfo()); in ActOnCXXNestedNameSpecifier()
|
D | SemaTemplateVariadic.cpp | 532 const MultiLevelTemplateArgumentList &TemplateArgs, in CheckParameterPacksForExpansion() argument 586 if (Depth >= TemplateArgs.getNumLevels() || in CheckParameterPacksForExpansion() 587 !TemplateArgs.hasTemplateArgument(Depth, Index)) { in CheckParameterPacksForExpansion() 593 NewPackSize = TemplateArgs(Depth, Index).pack_size(); in CheckParameterPacksForExpansion() 640 const MultiLevelTemplateArgumentList &TemplateArgs) { in getNumArgumentsInExpansion() argument 677 if (Depth >= TemplateArgs.getNumLevels() || in getNumArgumentsInExpansion() 678 !TemplateArgs.hasTemplateArgument(Depth, Index)) in getNumArgumentsInExpansion() 684 unsigned Size = TemplateArgs(Depth, Index).pack_size(); in getNumArgumentsInExpansion()
|
D | SemaTemplateDeduction.cpp | 2043 const TemplateArgumentList &TemplateArgs, in FinishTemplateArgumentDeduction() argument 2075 TemplateArgumentList TemplateArgs(TemplateArgumentList::OnStack, in FinishTemplateArgumentDeduction() local 2078 MultiLevelTemplateArgumentList(TemplateArgs), in FinishTemplateArgumentDeduction() 2147 if (!isSameTemplateArg(S.Context, TemplateArgs[I], InstArg)) { in FinishTemplateArgumentDeduction() 2149 Info.FirstArg = TemplateArgs[I]; in FinishTemplateArgumentDeduction() 2166 const TemplateArgumentList &TemplateArgs, in DeduceTemplateArguments() argument 2184 TemplateArgs, Info, Deduced)) in DeduceTemplateArguments() 2196 return ::FinishTemplateArgumentDeduction(*this, Partial, TemplateArgs, in DeduceTemplateArguments() 2567 TemplateArgumentList TemplateArgs(TemplateArgumentList::OnStack, in FinishTemplateArgumentDeduction() local 2570 MultiLevelTemplateArgumentList(TemplateArgs), in FinishTemplateArgumentDeduction() [all …]
|
D | SemaAccess.cpp | 1449 const MultiLevelTemplateArgumentList &TemplateArgs) { in HandleDependentAccessCheck() argument 1454 TemplateArgs); in HandleDependentAccessCheck() 1457 TemplateArgs); in HandleDependentAccessCheck() 1465 BaseObjectType = SubstType(BaseObjectType, TemplateArgs, Loc, in HandleDependentAccessCheck()
|
/external/clang/include/clang/Sema/ |
D | Template.h | 56 MultiLevelTemplateArgumentList(const TemplateArgumentList &TemplateArgs) { in MultiLevelTemplateArgumentList() argument 57 addOuterTemplateArguments(&TemplateArgs); in MultiLevelTemplateArgumentList() 96 void addOuterTemplateArguments(const TemplateArgumentList *TemplateArgs) { in addOuterTemplateArguments() argument 97 TemplateArgumentLists.push_back(ArgList(TemplateArgs->data(), in addOuterTemplateArguments() 98 TemplateArgs->size())); in addOuterTemplateArguments() 361 const MultiLevelTemplateArgumentList &TemplateArgs; variable 374 const MultiLevelTemplateArgumentList &TemplateArgs) in TemplateDeclInstantiator() argument 377 Owner(Owner), TemplateArgs(TemplateArgs), LateAttrs(0), StartingScope(0) in TemplateDeclInstantiator()
|
D | ParsedTemplate.h | 195 ParsedTemplateArgument *TemplateArgs = TemplateId->getTemplateArgs(); in Allocate() local 197 new (TemplateArgs + I) ParsedTemplateArgument(); in Allocate()
|
D | Sema.h | 2808 const TemplateArgumentListInfo *&TemplateArgs); 2823 const TemplateArgumentListInfo *TemplateArgs); 2842 const TemplateArgumentListInfo *TemplateArgs); 2846 const TemplateArgumentListInfo *TemplateArgs, 2857 const TemplateArgumentListInfo *TemplateArgs); 2946 const TemplateArgumentListInfo *TemplateArgs); 2966 const TemplateArgumentListInfo *TemplateArgs, 2987 const TemplateArgumentListInfo *TemplateArgs); 3970 ASTTemplateArgsPtr TemplateArgs, 4483 const MultiLevelTemplateArgumentList &TemplateArgs); [all …]
|
/external/clang/lib/AST/ |
D | ItaniumMangle.cpp | 294 const TemplateArgument *TemplateArgs, 310 const TemplateArgument *TemplateArgs, 345 void mangleTemplateArgs(const ASTTemplateArgumentListInfo &TemplateArgs); 347 const TemplateArgument *TemplateArgs, 350 const TemplateArgument *TemplateArgs, 519 isTemplate(const NamedDecl *ND, const TemplateArgumentList *&TemplateArgs) { in isTemplate() argument 523 TemplateArgs = FD->getTemplateSpecializationArgs(); in isTemplate() 531 TemplateArgs = &Spec->getTemplateArgs(); in isTemplate() 570 const TemplateArgumentList *TemplateArgs = 0; in mangleName() local 571 if (const TemplateDecl *TD = isTemplate(ND, TemplateArgs)) { in mangleName() [all …]
|
D | ExprCXX.cpp | 251 const TemplateArgumentListInfo *TemplateArgs, in OverloadExpr() argument 270 HasTemplateKWAndArgsInfo(TemplateArgs != 0 || TemplateKWLoc.isValid()) in OverloadExpr() 294 if (TemplateArgs) { in OverloadExpr() 298 getTemplateKWAndArgsInfo()->initializeFrom(TemplateKWLoc, *TemplateArgs, in OverloadExpr() 1056 const TemplateArgumentListInfo *TemplateArgs) in CXXDependentScopeMemberExpr() argument 1065 HasTemplateKWAndArgsInfo(TemplateArgs != 0 || TemplateKWLoc.isValid()), in CXXDependentScopeMemberExpr() 1069 if (TemplateArgs) { in CXXDependentScopeMemberExpr() 1073 getTemplateKWAndArgsInfo()->initializeFrom(TemplateKWLoc, *TemplateArgs, in CXXDependentScopeMemberExpr() 1112 const TemplateArgumentListInfo *TemplateArgs) { in Create() argument 1113 if (!TemplateArgs && !TemplateKWLoc.isValid()) in Create() [all …]
|
D | MicrosoftMangle.cpp | 75 const SmallVectorImpl<TemplateArgumentLoc> &TemplateArgs); 102 const SmallVectorImpl<TemplateArgumentLoc> &TemplateArgs); 363 SmallVectorImpl<TemplateArgumentLoc> &TemplateArgs) { in isTemplate() argument 370 TemplateArgs.append(ArgList->getTemplateArgs(), in isTemplate() 378 TemplateArgs.push_back(TemplateArgumentLoc(ArgList->get(i), in isTemplate() 394 TemplateArgs.push_back(TSTL.getArgLoc(i)); in isTemplate() 400 TemplateArgs.push_back(TemplateArgumentLoc(ArgList[i], in isTemplate() 416 SmallVector<TemplateArgumentLoc, 2> TemplateArgs; in mangleUnqualifiedName() local 418 if (const TemplateDecl *TD = isTemplate(ND, TemplateArgs)) { in mangleUnqualifiedName() 447 mangleTemplateInstantiationName(TD, TemplateArgs); in mangleUnqualifiedName() [all …]
|
D | DeclTemplate.cpp | 441 SmallVector<TemplateArgument, 16> TemplateArgs; in getInjectedClassNameSpecialization() local 442 TemplateArgs.resize(Params->size()); in getInjectedClassNameSpecialization() 443 GenerateInjectedTemplateArgs(getASTContext(), Params, TemplateArgs.data()); in getInjectedClassNameSpecialization() 446 &TemplateArgs[0], in getInjectedClassNameSpecialization() 447 TemplateArgs.size()); in getInjectedClassNameSpecialization() 669 const TemplateArgumentList *TemplateArgs, in Create() argument 678 TemplateArgs, in Create() 705 TemplateArgs(TemplateArgumentList::CreateCopy(Context, Args, NumArgs)), in ClassTemplateSpecializationDecl() 749 const TemplateArgumentList &TemplateArgs = getTemplateArgs(); in getNameForDiagnostic() local 751 TemplateArgs.data(), in getNameForDiagnostic() [all …]
|
D | Decl.cpp | 444 const TemplateArgumentList &TemplateArgs = spec->getTemplateArgs(); in getLVForNamespaceScopeDecl() local 445 LinkageInfo ArgsLV = getLVForTemplateArgumentList(TemplateArgs, in getLVForNamespaceScopeDecl() 550 const TemplateArgumentList &TemplateArgs = *spec->TemplateArguments; in getLVForClassMember() local 551 LinkageInfo ArgsLV = getLVForTemplateArgumentList(TemplateArgs, in getLVForClassMember() 575 const TemplateArgumentList &TemplateArgs = spec->getTemplateArgs(); in getLVForClassMember() local 576 LinkageInfo ArgsLV = getLVForTemplateArgumentList(TemplateArgs, in getLVForClassMember() 886 const TemplateArgumentList &TemplateArgs = Spec->getTemplateArgs(); in getQualifiedNameAsString() local 889 TemplateArgs.data(), in getQualifiedNameAsString() 890 TemplateArgs.size(), in getQualifiedNameAsString() 1625 const TemplateArgumentList *TemplateArgs = getTemplateSpecializationArgs(); in getNameForDiagnostic() local [all …]
|
D | TypePrinter.cpp | 815 const TemplateArgumentList &TemplateArgs = Spec->getTemplateArgs(); in AppendScope() local 817 TemplateArgs.data(), in AppendScope() 818 TemplateArgs.size(), in AppendScope() 902 const TemplateArgumentList &TemplateArgs = Spec->getTemplateArgs(); in printTag() local 903 Args = TemplateArgs.data(); in printTag() 904 NumArgs = TemplateArgs.size(); in printTag()
|
D | Expr.cpp | 284 const TemplateArgumentListInfo *TemplateArgs, in DeclRefExpr() argument 295 = (TemplateArgs || TemplateKWLoc.isValid()) ? 1 : 0; in DeclRefExpr() 297 if (TemplateArgs) { in DeclRefExpr() 301 getTemplateKWAndArgsInfo()->initializeFrom(TemplateKWLoc, *TemplateArgs, in DeclRefExpr() 324 const TemplateArgumentListInfo *TemplateArgs) { in Create() argument 328 T, VK, FoundD, TemplateArgs); in Create() 340 const TemplateArgumentListInfo *TemplateArgs) { in Create() argument 350 if (TemplateArgs) in Create() 351 Size += ASTTemplateKWAndArgsInfo::sizeFor(TemplateArgs->size()); in Create() 358 NameInfo, FoundD, TemplateArgs, T, VK); in Create()
|
/external/clang/include/clang/AST/ |
D | DeclTemplate.h | 283 const TemplateArgumentList *TemplateArgs, in FunctionTemplateSpecializationInfo() argument 288 TemplateArguments(TemplateArgs), in FunctionTemplateSpecializationInfo() 296 const TemplateArgumentList *TemplateArgs, 362 Profile(llvm::FoldingSetNodeID &ID, const TemplateArgument *TemplateArgs, in Profile() argument 366 TemplateArgs[Arg].Profile(ID, Context); in Profile() 458 const TemplateArgumentListInfo &TemplateArgs); 1360 TemplateArgumentList *TemplateArgs; 1385 TemplateArgumentList *TemplateArgs; 1437 return *TemplateArgs; 1512 return *PartialSpec->TemplateArgs; [all …]
|
D | ExprCXX.h | 2292 const TemplateArgumentListInfo *TemplateArgs, 2480 const TemplateArgumentListInfo *TemplateArgs, in UnresolvedLookupExpr() argument 2484 NameInfo, TemplateArgs, Begin, End, false, false, false), in UnresolvedLookupExpr() 2610 const TemplateArgumentListInfo *TemplateArgs); 2967 const TemplateArgumentListInfo *TemplateArgs); 2986 const TemplateArgumentListInfo *TemplateArgs); 3196 const TemplateArgumentListInfo *TemplateArgs, 3213 const TemplateArgumentListInfo *TemplateArgs,
|
D | Decl.h | 1536 const TemplateArgumentList *TemplateArgs, 2022 const TemplateArgumentList *TemplateArgs, 2027 setFunctionTemplateSpecialization(getASTContext(), Template, TemplateArgs, 2036 const TemplateArgumentListInfo &TemplateArgs);
|
/external/clang/lib/Parse/ |
D | ParseTemplate.cpp | 702 TemplateArgList &TemplateArgs, in ParseTemplateIdAfterTemplateName() argument 714 Invalid = ParseTemplateArgumentList(TemplateArgs); in ParseTemplateIdAfterTemplateName() 877 TemplateArgList TemplateArgs; in AnnotateTemplateIdToken() local 881 TemplateArgs, in AnnotateTemplateIdToken() 892 ASTTemplateArgsPtr TemplateArgsPtr(TemplateArgs); in AnnotateTemplateIdToken() 921 = TemplateIdAnnotation::Allocate(TemplateArgs.size(), TemplateIds); in AnnotateTemplateIdToken() 937 for (unsigned Arg = 0, ArgEnd = TemplateArgs.size(); Arg != ArgEnd; ++Arg) in AnnotateTemplateIdToken() 938 Args[Arg] = ParsedTemplateArgument(TemplateArgs[Arg]); in AnnotateTemplateIdToken() 1171 Parser::ParseTemplateArgumentList(TemplateArgList &TemplateArgs) { in ParseTemplateArgumentList() argument 1185 TemplateArgs.push_back(Arg); in ParseTemplateArgumentList()
|
D | ParseExprCXX.cpp | 1680 TemplateArgList TemplateArgs; in ParseUnqualifiedIdTemplateId() local 1684 TemplateArgs, in ParseUnqualifiedIdTemplateId() 1694 = TemplateIdAnnotation::Allocate(TemplateArgs.size(), TemplateIds); in ParseUnqualifiedIdTemplateId() 1713 for (unsigned Arg = 0, ArgEnd = TemplateArgs.size(); in ParseUnqualifiedIdTemplateId() 1715 Args[Arg] = TemplateArgs[Arg]; in ParseUnqualifiedIdTemplateId() 1722 ASTTemplateArgsPtr TemplateArgsPtr(TemplateArgs); in ParseUnqualifiedIdTemplateId()
|
/external/llvm/lib/TableGen/ |
D | TGParser.cpp | 31 std::vector<Init*> TemplateArgs; member 40 std::vector<Init*> TemplateArgs; member 53 for (std::vector<Init *>::const_iterator i = TemplateArgs.begin(), in dump() 54 iend = TemplateArgs.end(); in dump() 160 if (TArgs.size() < SubClass.TemplateArgs.size()) in AddSubClass() 166 if (i < SubClass.TemplateArgs.size()) { in AddSubClass() 169 SubClass.TemplateArgs[i])) in AddSubClass() 240 if (SMCTArgs.size() < SubMultiClass.TemplateArgs.size()) in AddSubMultiClass() 247 if (i < SubMultiClass.TemplateArgs.size()) { in AddSubMultiClass() 252 SubMultiClass.TemplateArgs[i])) in AddSubMultiClass() [all …]
|
/external/llvm/include/llvm/TableGen/ |
D | Record.h | 1306 std::vector<Init *> TemplateArgs; variable 1357 return TemplateArgs; in getTemplateArgs() 1363 for (unsigned i = 0, e = TemplateArgs.size(); i != e; ++i) in isTemplateArg() 1364 if (TemplateArgs[i] == Name) return true; in isTemplateArg() 1390 TemplateArgs.push_back(Name); in addTemplateArg()
|