/external/clang/lib/Sema/ |
D | SemaTemplateDeduction.cpp | 84 TemplateParameterList *TemplateParams, 116 TemplateParameterList *TemplateParams, 129 TemplateParameterList *TemplateParams, 382 TemplateParameterList *TemplateParams, in DeduceTemplateArguments() argument 441 TemplateParameterList *TemplateParams, in DeduceTemplateArguments() argument 453 = DeduceTemplateArguments(S, TemplateParams, in DeduceTemplateArguments() 463 return DeduceTemplateArguments(S, TemplateParams, in DeduceTemplateArguments() 485 TemplateParams, in DeduceTemplateArguments() 492 return DeduceTemplateArguments(S, TemplateParams, in DeduceTemplateArguments() 596 TemplateParameterList *TemplateParams, in FinishArgumentPackDeduction() argument [all …]
|
D | SemaTemplate.cpp | 848 TemplateParameterList *TemplateParams, in CheckClassTemplate() argument 852 assert(TemplateParams && TemplateParams->size() > 0 && in CheckClassTemplate() 858 if (CheckTemplateDeclScope(S, TemplateParams)) in CheckClassTemplate() 898 if (RebuildTemplateParamsInCurrentInstantiation(TemplateParams)) in CheckClassTemplate() 982 !TemplateParameterListsAreEqual(TemplateParams, in CheckClassTemplate() 1034 CheckTemplateParameterList(TemplateParams, in CheckClassTemplate() 1074 DeclarationName(Name), TemplateParams, in CheckClassTemplate() 4880 Sema::CheckTemplateDeclScope(Scope *S, TemplateParameterList *TemplateParams) { in CheckTemplateDeclScope() argument 4895 return Diag(TemplateParams->getTemplateLoc(), diag::err_template_linkage) in CheckTemplateDeclScope() 4896 << TemplateParams->getSourceRange(); in CheckTemplateDeclScope() [all …]
|
D | SemaTemplateInstantiateDecl.cpp | 1017 TemplateParameterList *TemplateParams) { in VisitFunctionDecl() argument 1021 if (FunctionTemplate && !TemplateParams) { in VisitFunctionDecl() 1041 bool MergeWithParentScope = (TemplateParams != 0) || in VisitFunctionDecl() 1118 if (TemplateParams) { in VisitFunctionDecl() 1136 TemplateParams, Function); in VisitFunctionDecl() 1205 } else if (TemplateParams || !FunctionTemplate) { in VisitFunctionDecl() 1222 NamedDecl *PrincipalDecl = (TemplateParams in VisitFunctionDecl() 1230 if (TemplateParams) in VisitFunctionDecl() 1320 TemplateParameterList *TemplateParams, in VisitCXXMethodDecl() argument 1323 if (FunctionTemplate && !TemplateParams) { in VisitCXXMethodDecl() [all …]
|
D | SemaTemplateInstantiate.cpp | 567 TemplateParameterList *TemplateParams = 0; in PrintInstantiationStack() local 569 TemplateParams = Template->getTemplateParameters(); in PrintInstantiationStack() 571 TemplateParams = in PrintInstantiationStack() 578 << getTemplateArgumentBindingsText(TemplateParams, in PrintInstantiationStack() 586 TemplateParameterList *TemplateParams = 0; in PrintInstantiationStack() local 588 TemplateParams = Template->getTemplateParameters(); in PrintInstantiationStack() 590 TemplateParams = in PrintInstantiationStack() 596 << getTemplateArgumentBindingsText(TemplateParams, in PrintInstantiationStack()
|
D | SemaDecl.cpp | 2606 MultiTemplateParamsArg TemplateParams) { in ParsedFreeStandingDeclSpec() argument 2663 return ActOnFriendTypeDecl(S, DS, TemplateParams); in ParsedFreeStandingDeclSpec() 4248 if (TemplateParameterList *TemplateParams in ActOnVariableDeclarator() local 4258 if (TemplateParams->size() > 0) { in ActOnVariableDeclarator() 4262 << SourceRange(TemplateParams->getTemplateLoc(), in ActOnVariableDeclarator() 4263 TemplateParams->getRAngleLoc()); in ActOnVariableDeclarator() 4268 Diag(TemplateParams->getTemplateLoc(), in ActOnVariableDeclarator() 4271 << SourceRange(TemplateParams->getTemplateLoc(), in ActOnVariableDeclarator() 4272 TemplateParams->getRAngleLoc()); in ActOnVariableDeclarator() 5218 if (TemplateParameterList *TemplateParams in ActOnFunctionDeclarator() local [all …]
|
D | SemaDeclCXX.cpp | 1567 TemplateParameterList* TemplateParams = TemplateParameterLists[0]; in ActOnCXXMemberDeclarator() local 1568 if (TemplateParams->size()) { in ActOnCXXMemberDeclarator() 1572 << SourceRange(TemplateParams->getTemplateLoc(), in ActOnCXXMemberDeclarator() 1573 TemplateParams->getRAngleLoc()); in ActOnCXXMemberDeclarator() 1576 Diag(TemplateParams->getTemplateLoc(), in ActOnCXXMemberDeclarator() 1579 << SourceRange(TemplateParams->getTemplateLoc(), in ActOnCXXMemberDeclarator() 1580 TemplateParams->getRAngleLoc()); in ActOnCXXMemberDeclarator() 6586 TemplateParameterList *TemplateParams = TemplateParamLists[0]; in ActOnAliasDeclaration() local 6607 if (TemplateParameterListsAreEqual(TemplateParams, in ActOnAliasDeclaration() 6632 if (CheckTemplateParameterList(TemplateParams, OldTemplateParams, in ActOnAliasDeclaration() [all …]
|
/external/clang/lib/Parse/ |
D | ParseTemplate.cpp | 139 SmallVector<Decl*, 4> TemplateParams; in ParseTemplateDeclarationOrSpecialization() local 140 if (ParseTemplateParameters(Depth, TemplateParams, LAngleLoc, in ParseTemplateDeclarationOrSpecialization() 152 TemplateParams.data(), in ParseTemplateDeclarationOrSpecialization() 153 TemplateParams.size(), RAngleLoc)); in ParseTemplateDeclarationOrSpecialization() 155 if (!TemplateParams.empty()) { in ParseTemplateDeclarationOrSpecialization() 306 SmallVectorImpl<Decl*> &TemplateParams, in ParseTemplateParameters() argument 319 Failed = ParseTemplateParameterList(Depth, TemplateParams); in ParseTemplateParameters() 349 SmallVectorImpl<Decl*> &TemplateParams) { in ParseTemplateParameterList() argument 352 = ParseTemplateParameter(Depth, TemplateParams.size())) { in ParseTemplateParameterList() 353 TemplateParams.push_back(TmpParam); in ParseTemplateParameterList() [all …]
|
D | ParseDeclCXX.cpp | 583 TemplateParameterLists *TemplateParams = TemplateInfo.TemplateParams; in ParseUsingDeclaration() local 585 TemplateParams ? TemplateParams->data() : 0, in ParseUsingDeclaration() 586 TemplateParams ? TemplateParams->size() : 0); in ParseUsingDeclaration() 1128 TemplateParameterLists *TemplateParams = TemplateInfo.TemplateParams; in ParseClassSpecifier() local 1163 if (TemplateParams && TemplateInfo.LastParameterListWasEmpty) { in ParseClassSpecifier() 1164 if (TemplateParams && TemplateParams->size() > 1) { in ParseClassSpecifier() 1165 TemplateParams->pop_back(); in ParseClassSpecifier() 1167 TemplateParams = 0; in ParseClassSpecifier() 1174 TemplateParams = 0; in ParseClassSpecifier() 1353 TemplateParams = &FakedParamLists; in ParseClassSpecifier() [all …]
|
D | ParseCXXInlineMethods.cpp | 37 MultiTemplateParamsArg TemplateParams( in ParseCXXInlineMethodDef() local 38 TemplateInfo.TemplateParams ? TemplateInfo.TemplateParams->data() : 0, in ParseCXXInlineMethodDef() 39 TemplateInfo.TemplateParams ? TemplateInfo.TemplateParams->size() : 0); in ParseCXXInlineMethodDef() 45 TemplateParams); in ParseCXXInlineMethodDef() 48 TemplateParams, 0, in ParseCXXInlineMethodDef()
|
D | Parser.cpp | 975 MultiTemplateParamsArg TemplateParameterLists(*TemplateInfo.TemplateParams); in ParseFunctionDefinition() 1006 !TemplateInfo.TemplateParams && in ParseFunctionDefinition() 1031 Decl *Res = TemplateInfo.TemplateParams? in ParseFunctionDefinition() 1033 *TemplateInfo.TemplateParams, D) in ParseFunctionDefinition()
|
D | ParseDecl.cpp | 1595 *TemplateInfo.TemplateParams, in ParseDeclarationAfterDeclaratorAndAttributes() 3295 assert(TemplateInfo.TemplateParams && "no template parameters"); in ParseEnumSpecifier() 3296 TParams = MultiTemplateParamsArg(TemplateInfo.TemplateParams->data(), in ParseEnumSpecifier() 3297 TemplateInfo.TemplateParams->size()); in ParseEnumSpecifier()
|
/external/clang/include/clang/AST/ |
D | DeclTemplate.h | 221 : NamedDecl(DK, DC, L, Name), TemplatedDecl(0), TemplateParams(0) { } in TemplateDecl() 227 : NamedDecl(DK, DC, L, Name), TemplatedDecl(0), TemplateParams(Params) { } in TemplateDecl() 234 TemplateParams(Params) { } in TemplateDecl() 238 return TemplateParams; in getTemplateParameters() 257 return SourceRange(TemplateParams->getTemplateLoc(), in getSourceRange() 263 TemplateParameterList* TemplateParams; variable 270 assert(TemplateParams == 0 && "TemplateParams already set!"); in init() 272 TemplateParams = templateParams; in init() 1611 TemplateParameterList* TemplateParams; 1646 TemplateParams(0), ArgsAsWritten(0), [all …]
|
/external/clang/include/clang/Parse/ |
D | Parser.h | 981 : Kind(NonTemplate), TemplateParams(0), TemplateLoc() { } in ParsedTemplateInfo() 983 ParsedTemplateInfo(TemplateParameterLists *TemplateParams, 987 TemplateParams(TemplateParams), 992 : Kind(ExplicitInstantiation), TemplateParams(0), in ParsedTemplateInfo() 1010 TemplateParameterLists *TemplateParams; member 2083 SmallVectorImpl<Decl*> &TemplateParams, 2087 SmallVectorImpl<Decl*> &TemplateParams);
|
/external/clang/include/clang/Sema/ |
D | Template.h | 399 TemplateParameterList *TemplateParams = 0); 402 TemplateParameterList *TemplateParams = 0,
|
D | Sema.h | 1387 MultiTemplateParamsArg TemplateParams); 3270 MultiTemplateParamsArg TemplateParams, 4342 MultiTemplateParamsArg TemplateParams); 4344 MultiTemplateParamsArg TemplateParams); 4635 TemplateParameterList *TemplateParams, 4887 bool CheckTemplateDeclScope(Scope *S, TemplateParameterList *TemplateParams);
|
/external/clang/include/clang/Serialization/ |
D | ASTWriter.h | 595 void AddTemplateParameterList(const TemplateParameterList *TemplateParams,
|
/external/clang/lib/AST/ |
D | Expr.cpp | 466 std::string TemplateParams; in ComputeName() local 467 llvm::raw_string_ostream TOut(TemplateParams); in ComputeName() 500 if (!TemplateParams.empty()) { in ComputeName() 502 TemplateParams.resize(TemplateParams.size() - 2); in ComputeName() 503 POut << " [" << TemplateParams << "]"; in ComputeName()
|
D | Decl.cpp | 553 TemplateParameterList *TemplateParams = in getLVForClassMember() local 555 LinkageInfo ParamsLV = getLVForTemplateParameterList(TemplateParams); in getLVForClassMember() 578 TemplateParameterList *TemplateParams = in getLVForClassMember() local 580 LinkageInfo ParamsLV = getLVForTemplateParameterList(TemplateParams); in getLVForClassMember()
|
D | ASTImporter.cpp | 3690 TemplateParameterList *TemplateParams in VisitTemplateTemplateParmDecl() local 3692 if (!TemplateParams) in VisitTemplateTemplateParmDecl() 3702 TemplateParams); in VisitTemplateTemplateParmDecl() 3776 TemplateParameterList *TemplateParams in VisitClassTemplateDecl() local 3778 if (!TemplateParams) in VisitClassTemplateDecl() 3782 Loc, Name, TemplateParams, in VisitClassTemplateDecl()
|
D | DeclTemplate.cpp | 812 TemplateParams(Params), ArgsAsWritten(ArgInfos), in ClassTemplatePartialSpecializationDecl()
|
/external/clang/lib/Serialization/ |
D | ASTWriter.cpp | 4223 ASTWriter::AddTemplateParameterList(const TemplateParameterList *TemplateParams, in AddTemplateParameterList() argument 4225 assert(TemplateParams && "No TemplateParams!"); in AddTemplateParameterList() 4226 AddSourceLocation(TemplateParams->getTemplateLoc(), Record); in AddTemplateParameterList() 4227 AddSourceLocation(TemplateParams->getLAngleLoc(), Record); in AddTemplateParameterList() 4228 AddSourceLocation(TemplateParams->getRAngleLoc(), Record); in AddTemplateParameterList() 4229 Record.push_back(TemplateParams->size()); in AddTemplateParameterList() 4231 P = TemplateParams->begin(), PEnd = TemplateParams->end(); in AddTemplateParameterList()
|
D | ASTReaderDecl.cpp | 1281 TemplateParameterList* TemplateParams in VisitTemplateDecl() local 1283 D->init(TemplatedDecl, TemplateParams); in VisitTemplateDecl() 1411 D->TemplateParams = Reader.ReadTemplateParameterList(F, Record, Idx); in VisitClassTemplatePartialSpecializationDecl()
|
D | ASTReader.cpp | 5975 TemplateParameterList* TemplateParams = in ReadTemplateParameterList() local 5978 return TemplateParams; in ReadTemplateParameterList()
|
/external/llvm/lib/VMCore/ |
D | DIBuilder.cpp | 454 MDNode *TemplateParams) { in createClassType() argument 470 TemplateParams in createClassType()
|
/external/clang/lib/CodeGen/ |
D | CGDebugInfo.cpp | 1094 SmallVector<llvm::Value *, 16> TemplateParams; in CollectTemplateParams() local 1102 TemplateParams.push_back(TTP); in CollectTemplateParams() 1108 TemplateParams.push_back(TVP); in CollectTemplateParams() 1111 return DBuilder.getOrCreateArray(TemplateParams); in CollectTemplateParams()
|