/external/clang/lib/Sema/ |
D | SemaTemplateInstantiate.cpp | 135 if (const TemplateArgumentList *TemplateArgs in getTemplateInstantiationArgs() local 138 Result.addOuterTemplateArguments(TemplateArgs); in getTemplateInstantiationArgs() 207 Decl *Entity, NamedDecl *Template, ArrayRef<TemplateArgument> TemplateArgs, in InstantiatingTemplate() argument 224 Inst.TemplateArgs = TemplateArgs.data(); in InstantiatingTemplate() 225 Inst.NumTemplateArgs = TemplateArgs.size(); in InstantiatingTemplate() 251 ArrayRef<TemplateArgument> TemplateArgs, SourceRange InstantiationRange) in InstantiatingTemplate() argument 256 TemplateArgs) {} in InstantiatingTemplate() 261 ArrayRef<TemplateArgument> TemplateArgs, in InstantiatingTemplate() argument 266 TemplateArgs, &DeductionInfo) {} in InstantiatingTemplate() 271 ArrayRef<TemplateArgument> TemplateArgs, in InstantiatingTemplate() argument [all …]
|
D | SemaTemplateInstantiateDecl.cpp | 41 const MultiLevelTemplateArgumentList &TemplateArgs) { in SubstQualifier() argument 56 TemplateArgs); in SubstQualifier() 67 return ::SubstQualifier(SemaRef, OldDecl, NewDecl, TemplateArgs); in SubstQualifier() 72 return ::SubstQualifier(SemaRef, OldDecl, NewDecl, TemplateArgs); in SubstQualifier() 79 Sema &S, const MultiLevelTemplateArgumentList &TemplateArgs, in instantiateDependentAlignedAttr() argument 84 ExprResult Result = S.SubstExpr(Aligned->getAlignmentExpr(), TemplateArgs); in instantiateDependentAlignedAttr() 90 TemplateArgs, Aligned->getLocation(), in instantiateDependentAlignedAttr() 99 Sema &S, const MultiLevelTemplateArgumentList &TemplateArgs, in instantiateDependentAlignedAttr() argument 102 instantiateDependentAlignedAttr(S, TemplateArgs, Aligned, New, false); in instantiateDependentAlignedAttr() 121 Unexpanded, TemplateArgs, Expand, in instantiateDependentAlignedAttr() [all …]
|
D | SemaExprMember.cpp | 238 const TemplateArgumentListInfo *TemplateArgs, in BuildPossibleImplicitMemberExpr() argument 242 return BuildImplicitMemberExpr(SS, TemplateKWLoc, R, TemplateArgs, true, S); in BuildPossibleImplicitMemberExpr() 247 return BuildImplicitMemberExpr(SS, TemplateKWLoc, R, TemplateArgs, false, in BuildPossibleImplicitMemberExpr() 258 if (TemplateArgs || TemplateKWLoc.isValid()) in BuildPossibleImplicitMemberExpr() 259 return BuildTemplateIdExpr(SS, TemplateKWLoc, R, false, TemplateArgs); in BuildPossibleImplicitMemberExpr() 463 const TemplateArgumentListInfo *TemplateArgs) { in ActOnDependentMemberExpr() argument 493 NameInfo, TemplateArgs); in ActOnDependentMemberExpr() 722 const TemplateArgumentListInfo *TemplateArgs, in BuildMemberReferenceExpr() argument 730 NameInfo, TemplateArgs); in BuildMemberReferenceExpr() 741 SS, TemplateArgs != nullptr, TE)) in BuildMemberReferenceExpr() [all …]
|
D | SemaTemplate.cpp | 415 const TemplateArgumentListInfo *TemplateArgs) { in ActOnDependentIdExpression() argument 443 FirstQualifierInScope, NameInfo, TemplateArgs); in ActOnDependentIdExpression() 446 return BuildDependentDeclRefExpr(SS, TemplateKWLoc, NameInfo, TemplateArgs); in ActOnDependentIdExpression() 453 const TemplateArgumentListInfo *TemplateArgs) { in BuildDependentDeclRefExpr() argument 456 TemplateArgs); in BuildDependentDeclRefExpr() 538 TemplateArgumentListInfo &TemplateArgs) { in translateTemplateArguments() argument 540 TemplateArgs.addArgument(translateTemplateArgument(*this, in translateTemplateArguments() 2043 TemplateArgumentListInfo &TemplateArgs) { in checkBuiltinTemplateIdType() argument 2053 SemaRef.Diag(TemplateArgs[1].getLocation(), in checkBuiltinTemplateIdType() 2063 SemaRef.Diag(TemplateArgs[2].getLocation(), in checkBuiltinTemplateIdType() [all …]
|
D | SemaCXXScopeSpec.cpp | 902 TemplateArgumentListInfo TemplateArgs(LAngleLoc, RAngleLoc); in ActOnCXXNestedNameSpecifier() local 903 translateTemplateArguments(TemplateArgsIn, TemplateArgs); in ActOnCXXNestedNameSpecifier() 913 TemplateArgs); in ActOnCXXNestedNameSpecifier() 925 for (unsigned I = 0, N = TemplateArgs.size(); I != N; ++I) in ActOnCXXNestedNameSpecifier() 926 SpecTL.setArgLocInfo(I, TemplateArgs[I].getLocInfo()); in ActOnCXXNestedNameSpecifier() 949 TemplateArgs); in ActOnCXXNestedNameSpecifier() 969 for (unsigned I = 0, N = TemplateArgs.size(); I != N; ++I) in ActOnCXXNestedNameSpecifier() 970 SpecTL.setArgLocInfo(I, TemplateArgs[I].getLocInfo()); in ActOnCXXNestedNameSpecifier()
|
D | SemaTemplateVariadic.cpp | 541 const MultiLevelTemplateArgumentList &TemplateArgs, bool &ShouldExpand, in CheckParameterPacksForExpansion() argument 593 if (Depth >= TemplateArgs.getNumLevels() || in CheckParameterPacksForExpansion() 594 !TemplateArgs.hasTemplateArgument(Depth, Index)) { in CheckParameterPacksForExpansion() 600 NewPackSize = TemplateArgs(Depth, Index).pack_size(); in CheckParameterPacksForExpansion() 647 const MultiLevelTemplateArgumentList &TemplateArgs) { in getNumArgumentsInExpansion() argument 684 if (Depth >= TemplateArgs.getNumLevels() || in getNumArgumentsInExpansion() 685 !TemplateArgs.hasTemplateArgument(Depth, Index)) in getNumArgumentsInExpansion() 691 unsigned Size = TemplateArgs(Depth, Index).pack_size(); in getNumArgumentsInExpansion()
|
D | SemaTemplateDeduction.cpp | 2087 TemplateArgumentList TemplateArgs(TemplateArgumentList::OnStack, Output); in ConvertDeducedTemplateArgument() local 2089 MultiLevelTemplateArgumentList(TemplateArgs), in ConvertDeducedTemplateArgument() 2147 TemplateArgumentList TemplateArgs(TemplateArgumentList::OnStack, Output); in ConvertDeducedTemplateArgument() local 2149 MultiLevelTemplateArgumentList(TemplateArgs))) in ConvertDeducedTemplateArgument() 2167 const TemplateArgumentList &TemplateArgs, in FinishTemplateArgumentDeduction() argument 2244 if (!isSameTemplateArg(S.Context, TemplateArgs[I], InstArg)) { in FinishTemplateArgumentDeduction() 2246 Info.FirstArg = TemplateArgs[I]; in FinishTemplateArgumentDeduction() 2263 const TemplateArgumentList &TemplateArgs, in DeduceTemplateArguments() argument 2284 TemplateArgs, Info, Deduced)) in DeduceTemplateArguments() 2296 return ::FinishTemplateArgumentDeduction(*this, Partial, TemplateArgs, in DeduceTemplateArguments() [all …]
|
/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 addOuterTemplateArguments(ArgList(TemplateArgs->data(), in addOuterTemplateArguments() 98 TemplateArgs->size())); in addOuterTemplateArguments() 377 const MultiLevelTemplateArgumentList &TemplateArgs; variable 398 const MultiLevelTemplateArgumentList &TemplateArgs) in TemplateDeclInstantiator() argument 401 Owner(Owner), TemplateArgs(TemplateArgs), LateAttrs(nullptr), in TemplateDeclInstantiator()
|
D | Sema.h | 3778 const TemplateArgumentListInfo *&TemplateArgs); 3794 const TemplateArgumentListInfo *TemplateArgs); 3805 const TemplateArgumentListInfo *TemplateArgs = nullptr); 3818 const TemplateArgumentListInfo *TemplateArgs, 3823 const TemplateArgumentListInfo *TemplateArgs, 3839 const TemplateArgumentListInfo *TemplateArgs); 3848 const TemplateArgumentListInfo *TemplateArgs = nullptr, 3950 const TemplateArgumentListInfo *TemplateArgs, 3959 const TemplateArgumentListInfo *TemplateArgs, 3976 const TemplateArgumentListInfo *TemplateArgs); [all …]
|
D | ParsedTemplate.h | 202 ParsedTemplateArgument *TemplateArgs = TemplateId->getTemplateArgs(); in Allocate() local 204 new (TemplateArgs + I) ParsedTemplateArgument(); in Allocate()
|
/external/clang/include/clang/AST/ |
D | DeclTemplate.h | 403 const TemplateArgumentList *TemplateArgs, in FunctionTemplateSpecializationInfo() argument 408 TemplateArguments(TemplateArgs), in FunctionTemplateSpecializationInfo() 416 const TemplateArgumentList *TemplateArgs, 489 Profile(llvm::FoldingSetNodeID &ID, ArrayRef<TemplateArgument> TemplateArgs, in Profile() argument 491 ID.AddInteger(TemplateArgs.size()); in Profile() 492 for (const TemplateArgument &TemplateArg : TemplateArgs) in Profile() 586 const TemplateArgumentListInfo &TemplateArgs); 591 const TemplateArgumentListInfo &TemplateArgs); 1542 const TemplateArgumentList *TemplateArgs; 1567 const TemplateArgumentList *TemplateArgs; [all …]
|
/external/clang/lib/AST/ |
D | ExprCXX.cpp | 254 const TemplateArgumentListInfo *TemplateArgs, in OverloadExpr() argument 273 HasTemplateKWAndArgsInfo(TemplateArgs != nullptr || in OverloadExpr() 296 if (TemplateArgs) { in OverloadExpr() 301 TemplateKWLoc, *TemplateArgs, getTrailingTemplateArgumentLoc(), in OverloadExpr() 1113 const TemplateArgumentListInfo *TemplateArgs) in CXXDependentScopeMemberExpr() argument 1122 HasTemplateKWAndArgsInfo(TemplateArgs != nullptr || in CXXDependentScopeMemberExpr() 1127 if (TemplateArgs) { in CXXDependentScopeMemberExpr() 1132 TemplateKWLoc, *TemplateArgs, getTrailingObjects<TemplateArgumentLoc>(), in CXXDependentScopeMemberExpr() 1150 const TemplateArgumentListInfo *TemplateArgs) { in Create() argument 1151 bool HasTemplateKWAndArgsInfo = TemplateArgs || TemplateKWLoc.isValid(); in Create() [all …]
|
D | ItaniumMangle.cpp | 473 const TemplateArgument *TemplateArgs, 501 const TemplateArgument *TemplateArgs, 547 void mangleTemplateArgs(const TemplateArgumentLoc *TemplateArgs, 549 void mangleTemplateArgs(const TemplateArgument *TemplateArgs, 774 isTemplate(const NamedDecl *ND, const TemplateArgumentList *&TemplateArgs) { in isTemplate() argument 778 TemplateArgs = FD->getTemplateSpecializationArgs(); in isTemplate() 786 TemplateArgs = &Spec->getTemplateArgs(); in isTemplate() 793 TemplateArgs = &Spec->getTemplateArgs(); in isTemplate() 858 const TemplateArgumentList *TemplateArgs = nullptr; in mangleNameWithAbiTags() local 859 if (const TemplateDecl *TD = isTemplate(ND, TemplateArgs)) { in mangleNameWithAbiTags() [all …]
|
D | DeclTemplate.cpp | 459 SmallVector<TemplateArgument, 16> TemplateArgs; in getInjectedClassNameSpecialization() local 460 TemplateArgs.resize(Params->size()); in getInjectedClassNameSpecialization() 461 GenerateInjectedTemplateArgs(getASTContext(), Params, TemplateArgs.data()); in getInjectedClassNameSpecialization() 464 TemplateArgs); in getInjectedClassNameSpecialization() 681 const TemplateArgumentList *TemplateArgs, in Create() argument 690 TemplateArgs, in Create() 716 TemplateArgs(TemplateArgumentList::CreateCopy(Context, Args)), in ClassTemplateSpecializationDecl() 757 const TemplateArgumentList &TemplateArgs = getTemplateArgs(); in getNameForDiagnostic() local 759 OS, TemplateArgs.asArray(), Policy); in getNameForDiagnostic() 1061 TemplateArgs(TemplateArgumentList::CreateCopy(Context, Args)), in VarTemplateSpecializationDecl() [all …]
|
D | MicrosoftMangle.cpp | 330 const TemplateArgumentList &TemplateArgs); 358 const TemplateArgumentList &TemplateArgs); 697 isTemplate(const NamedDecl *ND, const TemplateArgumentList *&TemplateArgs) { in isTemplate() argument 701 TemplateArgs = FD->getTemplateSpecializationArgs(); in isTemplate() 709 TemplateArgs = &Spec->getTemplateArgs(); in isTemplate() 716 TemplateArgs = &Spec->getTemplateArgs(); in isTemplate() 731 const TemplateArgumentList *TemplateArgs = nullptr; in mangleUnqualifiedName() local 732 if (const TemplateDecl *TD = isTemplate(ND, TemplateArgs)) { in mangleUnqualifiedName() 737 mangleTemplateInstantiationName(TD, *TemplateArgs); in mangleUnqualifiedName() 760 Extra.mangleTemplateInstantiationName(TD, *TemplateArgs); in mangleUnqualifiedName() [all …]
|
D | Expr.cpp | 328 const TemplateArgumentListInfo *TemplateArgs, in DeclRefExpr() argument 346 = (TemplateArgs || TemplateKWLoc.isValid()) ? 1 : 0; in DeclRefExpr() 349 if (TemplateArgs) { in DeclRefExpr() 354 TemplateKWLoc, *TemplateArgs, getTrailingObjects<TemplateArgumentLoc>(), in DeclRefExpr() 377 const TemplateArgumentListInfo *TemplateArgs) { in Create() argument 381 T, VK, FoundD, TemplateArgs); in Create() 393 const TemplateArgumentListInfo *TemplateArgs) { in Create() argument 398 bool HasTemplateKWAndArgsInfo = TemplateArgs || TemplateKWLoc.isValid(); in Create() 404 TemplateArgs ? TemplateArgs->size() : 0); in Create() 409 NameInfo, FoundD, TemplateArgs, T, VK); in Create()
|
/external/swiftshader/third_party/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() 157 if (TArgs.size() < SubClass.TemplateArgs.size()) in AddSubClass() 163 if (i < SubClass.TemplateArgs.size()) { in AddSubClass() 166 SubClass.TemplateArgs[i])) in AddSubClass() 237 if (SMCTArgs.size() < SubMultiClass.TemplateArgs.size()) in AddSubMultiClass() 244 if (i < SubMultiClass.TemplateArgs.size()) { in AddSubMultiClass() 249 SubMultiClass.TemplateArgs[i])) in AddSubMultiClass() [all …]
|
/external/clang/lib/Parse/ |
D | ParseTemplate.cpp | 904 TemplateArgList &TemplateArgs, in ParseTemplateIdAfterTemplateName() argument 916 Invalid = ParseTemplateArgumentList(TemplateArgs); in ParseTemplateIdAfterTemplateName() 983 TemplateArgList TemplateArgs; in AnnotateTemplateIdToken() local 987 TemplateArgs, in AnnotateTemplateIdToken() 997 ASTTemplateArgsPtr TemplateArgsPtr(TemplateArgs); in AnnotateTemplateIdToken() 1025 = TemplateIdAnnotation::Allocate(TemplateArgs.size(), TemplateIds); in AnnotateTemplateIdToken() 1041 for (unsigned Arg = 0, ArgEnd = TemplateArgs.size(); Arg != ArgEnd; ++Arg) in AnnotateTemplateIdToken() 1042 Args[Arg] = ParsedTemplateArgument(TemplateArgs[Arg]); in AnnotateTemplateIdToken() 1266 Parser::ParseTemplateArgumentList(TemplateArgList &TemplateArgs) { in ParseTemplateArgumentList() argument 1283 TemplateArgs.push_back(Arg); in ParseTemplateArgumentList()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/TableGen/ |
D | TGParser.cpp | 40 SmallVector<Init*, 4> TemplateArgs; member 50 SmallVector<Init*, 4> TemplateArgs; member 65 for (Init *TA : TemplateArgs) in dump() 239 if (TArgs.size() < SubClass.TemplateArgs.size()) in AddSubClass() 248 if (i < SubClass.TemplateArgs.size()) { in AddSubClass() 251 None, SubClass.TemplateArgs[i])) in AddSubClass() 312 if (SMCTArgs.size() < SubMultiClass.TemplateArgs.size()) in AddSubMultiClass() 318 SubstStack TemplateArgs; in AddSubMultiClass() local 320 if (i < SubMultiClass.TemplateArgs.size()) { in AddSubMultiClass() 321 TemplateArgs.emplace_back(SMCTArgs[i], SubMultiClass.TemplateArgs[i]); in AddSubMultiClass() [all …]
|
/external/v8/tools/clang/blink_gc_plugin/ |
D | RecordInfo.cpp | 41 bool RecordInfo::GetTemplateArgs(size_t count, TemplateArgs* output_args) { in GetTemplateArgs() 67 TemplateArgs args; in IsHeapAllocatedCollection() 69 for (TemplateArgs::iterator it = args.begin(); it != args.end(); ++it) { in IsHeapAllocatedCollection() 653 TemplateArgs args; in CreateEdge() 712 for (TemplateArgs::iterator it = args.begin(); it != args.end(); ++it) { in CreateEdge()
|
D | RecordInfo.h | 83 typedef std::vector<const clang::Type*> TemplateArgs; typedef 96 bool GetTemplateArgs(size_t count, TemplateArgs* output_args);
|
/external/llvm/lib/TableGen/ |
D | TGParser.cpp | 30 std::vector<Init*> TemplateArgs; member 39 std::vector<Init*> TemplateArgs; member 52 for (Init *TA : TemplateArgs) in dump() 157 if (TArgs.size() < SubClass.TemplateArgs.size()) in AddSubClass() 164 if (i < SubClass.TemplateArgs.size()) { in AddSubClass() 167 None, SubClass.TemplateArgs[i])) in AddSubClass() 233 if (SMCTArgs.size() < SubMultiClass.TemplateArgs.size()) in AddSubMultiClass() 240 if (i < SubMultiClass.TemplateArgs.size()) { in AddSubMultiClass() 244 None, SubMultiClass.TemplateArgs[i])) in AddSubMultiClass() 258 None, SubMultiClass.TemplateArgs[i])) in AddSubMultiClass() [all …]
|
/external/clang/lib/Tooling/Core/ |
D | QualTypeNames.cpp | 172 const TemplateArgumentList &TemplateArgs = TSTDecl->getTemplateArgs(); in getFullyQualifiedTemplateType() local 176 for (unsigned int I = 0, E = TemplateArgs.size(); I != E; ++I) { in getFullyQualifiedTemplateType() 179 TemplateArgument Arg(TemplateArgs[I]); in getFullyQualifiedTemplateType()
|
/external/llvm/include/llvm/TableGen/ |
D | Record.h | 1229 SmallVector<Init *, 0> TemplateArgs; variable 1275 Name(O.Name), Locs(O.Locs), TemplateArgs(O.TemplateArgs), in Record() 1301 return TemplateArgs; in getTemplateArgs() 1309 for (Init *TA : TemplateArgs) in isTemplateArg() 1336 TemplateArgs.push_back(Name); in addTemplateArg()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/TableGen/ |
D | Record.h | 1344 SmallVector<Init *, 0> TemplateArgs; variable 1381 : Name(O.Name), Locs(O.Locs), TemplateArgs(O.TemplateArgs), in Record() 1414 return TemplateArgs; in getTemplateArgs() 1427 for (Init *TA : TemplateArgs) in isTemplateArg() 1452 TemplateArgs.push_back(Name); in addTemplateArg()
|