Searched refs:TemplateParams (Results 1 - 25 of 25) sorted by relevance

/external/clang/lib/Sema/
H A DSemaTemplateDeduction.cpp88 TemplateParameterList *TemplateParams,
120 TemplateParameterList *TemplateParams,
133 TemplateParameterList *TemplateParams,
405 TemplateParameterList *TemplateParams,
449 /// \param TemplateParams the template parameters that we are deducing
464 TemplateParameterList *TemplateParams,
476 = DeduceTemplateArguments(S, TemplateParams,
486 return DeduceTemplateArguments(S, TemplateParams,
513 TemplateParams,
520 return DeduceTemplateArguments(S, TemplateParams,
404 DeduceTemplateArguments(Sema &S, TemplateParameterList *TemplateParams, TemplateName Param, TemplateName Arg, TemplateDeductionInfo &Info, SmallVectorImpl<DeducedTemplateArgument> &Deduced) argument
463 DeduceTemplateArguments(Sema &S, TemplateParameterList *TemplateParams, const TemplateSpecializationType *Param, QualType Arg, TemplateDeductionInfo &Info, SmallVectorImpl<DeducedTemplateArgument> &Deduced) argument
609 PackDeductionScope(Sema &S, TemplateParameterList *TemplateParams, SmallVectorImpl<DeducedTemplateArgument> &Deduced, TemplateDeductionInfo &Info, TemplateArgument Pattern) argument
754 TemplateParameterList *TemplateParams; member in class:PackDeductionScope
795 DeduceTemplateArguments(Sema &S, TemplateParameterList *TemplateParams, const QualType *Params, unsigned NumParams, const QualType *Args, unsigned NumArgs, TemplateDeductionInfo &Info, SmallVectorImpl<DeducedTemplateArgument> &Deduced, unsigned TDF, bool PartialOrdering = false, SmallVectorImpl<RefParamPartialOrderingComparison> * RefParamComparisons = nullptr) argument
978 DeduceTemplateArgumentsByTypeMatch(Sema &S, TemplateParameterList *TemplateParams, QualType ParamIn, QualType ArgIn, TemplateDeductionInfo &Info, SmallVectorImpl<DeducedTemplateArgument> &Deduced, unsigned TDF, bool PartialOrdering, SmallVectorImpl<RefParamPartialOrderingComparison> * RefParamComparisons) argument
1689 DeduceTemplateArguments(Sema &S, TemplateParameterList *TemplateParams, const TemplateArgument &Param, TemplateArgument Arg, TemplateDeductionInfo &Info, SmallVectorImpl<DeducedTemplateArgument> &Deduced) argument
1850 DeduceTemplateArguments(Sema &S, TemplateParameterList *TemplateParams, const TemplateArgument *Params, unsigned NumParams, const TemplateArgument *Args, unsigned NumArgs, TemplateDeductionInfo &Info, SmallVectorImpl<DeducedTemplateArgument> &Deduced) argument
1937 DeduceTemplateArguments(Sema &S, TemplateParameterList *TemplateParams, const TemplateArgumentList &ParamList, const TemplateArgumentList &ArgList, TemplateDeductionInfo &Info, SmallVectorImpl<DeducedTemplateArgument> &Deduced) argument
2514 TemplateParameterList *TemplateParams local
2787 TemplateParameterList *TemplateParams local
3028 ResolveOverloadForDeduction(Sema &S, TemplateParameterList *TemplateParams, Expr *Arg, QualType ParamType, bool ParamWasReference) argument
3127 AdjustFunctionParmAndArgTypesForDeduction(Sema &S, TemplateParameterList *TemplateParams, QualType &ParamType, QualType &ArgType, Expr *Arg, unsigned &TDF) argument
3243 DeduceTemplateArgumentByListElement(Sema &S, TemplateParameterList *TemplateParams, QualType ParamType, Expr *Arg, TemplateDeductionInfo &Info, SmallVectorImpl<DeducedTemplateArgument> &Deduced, unsigned TDF) argument
3327 TemplateParameterList *TemplateParams local
3553 TemplateParameterList *TemplateParams local
3807 TemplateParameterList *TemplateParams local
4162 TemplateParameterList *TemplateParams = FT2->getTemplateParameters(); local
5080 TemplateParameterList *TemplateParams local
[all...]
H A DSemaTemplate.cpp839 TemplateParameterList *TemplateParams,
843 assert(TemplateParams && TemplateParams->size() > 0 &&
849 if (CheckTemplateDeclScope(S, TemplateParams))
890 if (RebuildTemplateParamsInCurrentInstantiation(TemplateParams))
975 !TemplateParameterListsAreEqual(TemplateParams,
1028 TemplateParams,
1069 DeclarationName(Name), TemplateParams,
2314 Sema &S, SourceLocation NameLoc, TemplateParameterList *TemplateParams,
2400 TemplateParameterList *TemplateParams, VarDec
835 CheckClassTemplate(Scope *S, unsigned TagSpec, TagUseKind TUK, SourceLocation KWLoc, CXXScopeSpec &SS, IdentifierInfo *Name, SourceLocation NameLoc, AttributeList *Attr, TemplateParameterList *TemplateParams, AccessSpecifier AS, SourceLocation ModulePrivateLoc, unsigned NumOuterTemplateParamLists, TemplateParameterList** OuterTemplateParamLists) argument
2398 ActOnVarTemplateSpecialization( Scope *S, Declarator &D, TypeSourceInfo *DI, SourceLocation TemplateKWLoc, TemplateParameterList *TemplateParams, VarDecl::StorageClass SC, bool IsPartialSpecialization) argument
5559 CheckTemplateDeclScope(Scope *S, TemplateParameterList *TemplateParams) argument
5910 CheckTemplatePartialSpecializationArgs( Sema &S, SourceLocation TemplateNameLoc, TemplateParameterList *TemplateParams, unsigned NumExplicit, SmallVectorImpl<TemplateArgument> &TemplateArgs) argument
5970 TemplateParameterList *TemplateParams = local
[all...]
H A DSemaLambda.cpp359 TemplateParameterList *TemplateParams = local
364 if (Class->isDependentContext() || TemplateParams) {
402 FunctionTemplateDecl *const TemplateMethod = TemplateParams ?
405 TemplateParams,
841 TemplateParameterList *TemplateParams = local
845 // Since we have our own TemplateParams, so check if an outer scope
847 if (TemplateParams) {
H A DSemaTemplateInstantiateDecl.cpp1224 TemplateParameterList *TemplateParams) {
1228 if (FunctionTemplate && !TemplateParams) {
1246 bool MergeWithParentScope = (TemplateParams != nullptr) ||
1315 if (TemplateParams) {
1333 TemplateParams, Function);
1404 } else if (TemplateParams || !FunctionTemplate) {
1421 NamedDecl *PrincipalDecl = (TemplateParams
1499 TemplateParameterList *TemplateParams,
1502 if (FunctionTemplate && !TemplateParams) {
1523 bool MergeWithParentScope = (TemplateParams !
1223 VisitFunctionDecl(FunctionDecl *D, TemplateParameterList *TemplateParams) argument
1498 VisitCXXMethodDecl(CXXMethodDecl *D, TemplateParameterList *TemplateParams, bool IsClassScopeSpecialization) argument
[all...]
H A DSemaTemplateInstantiate.cpp536 TemplateParameterList *TemplateParams = nullptr; local
538 TemplateParams = Template->getTemplateParameters();
540 TemplateParams =
547 << getTemplateArgumentBindingsText(TemplateParams,
555 TemplateParameterList *TemplateParams = nullptr; local
557 TemplateParams = Template->getTemplateParameters();
559 TemplateParams =
565 << getTemplateArgumentBindingsText(TemplateParams,
H A DSemaDecl.cpp3313 MultiTemplateParamsArg TemplateParams,
3374 return ActOnFriendTypeDecl(S, DS, TemplateParams);
3379 !TemplateParams.empty() && TemplateParams.back()->size() == 0;
5320 TemplateParameterList *TemplateParams = nullptr; local
5384 TemplateParams = MatchTemplateParametersToScopeSpecifier(
5393 if (TemplateParams) {
5394 if (!TemplateParams->size() &&
5398 Diag(TemplateParams->getTemplateLoc(),
5401 << SourceRange(TemplateParams
3311 ParsedFreeStandingDeclSpec(Scope *S, AccessSpecifier AS, DeclSpec &DS, MultiTemplateParamsArg TemplateParams, bool IsExplicitInstantiation) argument
[all...]
H A DSemaDeclCXX.cpp2075 TemplateParameterList* TemplateParams = TemplateParameterLists[0]; local
2076 if (TemplateParams->size()) {
2080 << SourceRange(TemplateParams->getTemplateLoc(),
2081 TemplateParams->getRAngleLoc());
2084 Diag(TemplateParams->getTemplateLoc(),
2087 << SourceRange(TemplateParams->getTemplateLoc(),
2088 TemplateParams->getRAngleLoc());
8110 TemplateParameterList *TemplateParams = TemplateParamLists[0]; local
8131 if (TemplateParameterListsAreEqual(TemplateParams,
8156 if (CheckTemplateParameterList(TemplateParams, OldTemplateParam
8711 TemplateParameterList *TemplateParams = nullptr; local
11813 ActOnFriendFunctionDecl(Scope *S, Declarator &D, MultiTemplateParamsArg TemplateParams) argument
[all...]
/external/clang/lib/Parse/
H A DParseTemplate.cpp115 SmallVector<Decl*, 4> TemplateParams; local
117 TemplateParams, LAngleLoc, RAngleLoc)) {
128 TemplateParams.data(),
129 TemplateParams.size(), RAngleLoc));
131 if (!TemplateParams.empty()) {
195 TemplateInfo.TemplateParams ? *TemplateInfo.TemplateParams
289 /// TemplateParams is the current list of template parameters we're building.
296 SmallVectorImpl<Decl*> &TemplateParams,
308 Failed = ParseTemplateParameterList(Depth, TemplateParams);
295 ParseTemplateParameters(unsigned Depth, SmallVectorImpl<Decl*> &TemplateParams, SourceLocation &LAngleLoc, SourceLocation &RAngleLoc) argument
335 ParseTemplateParameterList(unsigned Depth, SmallVectorImpl<Decl*> &TemplateParams) argument
535 SmallVector<Decl*,8> TemplateParams; local
[all...]
H A DParseDeclCXX.cpp645 TemplateParameterLists *TemplateParams = TemplateInfo.TemplateParams; local
647 TemplateParams ? TemplateParams->data() : nullptr,
648 TemplateParams ? TemplateParams->size() : 0);
1252 TemplateParameterLists *TemplateParams = TemplateInfo.TemplateParams; local
1282 if (TemplateParams && TemplateInfo.LastParameterListWasEmpty) {
1283 if (TemplateParams
[all...]
H A DParseCXXInlineMethods.cpp37 MultiTemplateParamsArg TemplateParams(
38 TemplateInfo.TemplateParams ? TemplateInfo.TemplateParams->data()
40 TemplateInfo.TemplateParams ? TemplateInfo.TemplateParams->size() : 0);
46 TemplateParams);
49 TemplateParams, nullptr,
H A DParser.cpp812 /// compound-statement in function-definition. TemplateParams, if
984 MultiTemplateParamsArg TemplateParameterLists(*TemplateInfo.TemplateParams);
1006 !TemplateInfo.TemplateParams &&
1032 Decl *Res = TemplateInfo.TemplateParams?
1034 *TemplateInfo.TemplateParams, D)
H A DParseDecl.cpp1752 *TemplateInfo.TemplateParams,
3688 assert(TemplateInfo.TemplateParams && "no template parameters");
3689 TParams = MultiTemplateParamsArg(TemplateInfo.TemplateParams->data(),
3690 TemplateInfo.TemplateParams->size());
/external/clang/include/clang/AST/
H A DDeclTemplate.h236 TemplateParams(nullptr) {}
243 TemplateParams(Params) {}
250 TemplateParams(Params) { }
254 return TemplateParams;
267 return SourceRange(TemplateParams->getTemplateLoc(),
273 TemplateParameterList* TemplateParams; local
280 assert(!TemplateParams && "TemplateParams already set!");
282 TemplateParams = templateParams;
1655 TemplateParameterList* TemplateParams; member in class:clang::TemplateParameterList::ClassTemplatePartialSpecializationDecl
2512 TemplateParameterList *TemplateParams; member in class:clang::TemplateParameterList::VarTemplatePartialSpecializationDecl
[all...]
/external/clang/include/clang/Sema/
H A DTemplate.h423 TemplateParameterList *TemplateParams,
426 TemplateParameterList *TemplateParams);
H A DSema.h1754 MultiTemplateParamsArg TemplateParams,
3847 MultiTemplateParamsArg TemplateParams,
4954 MultiTemplateParamsArg TemplateParams);
4956 MultiTemplateParamsArg TemplateParams);
5254 TemplateParameterList *TemplateParams,
5292 SourceLocation TemplateKWLoc, TemplateParameterList *TemplateParams,
5512 bool CheckTemplateDeclScope(Scope *S, TemplateParameterList *TemplateParams);
/external/clang/include/clang/Parse/
H A DParser.h1114 : Kind(NonTemplate), TemplateParams(nullptr), TemplateLoc() { }
1116 ParsedTemplateInfo(TemplateParameterLists *TemplateParams, argument
1120 TemplateParams(TemplateParams),
1125 : Kind(ExplicitInstantiation), TemplateParams(nullptr),
1143 TemplateParameterLists *TemplateParams; member in struct:clang::Parser::ParsedTemplateInfo
2395 SmallVectorImpl<Decl*> &TemplateParams,
2399 SmallVectorImpl<Decl*> &TemplateParams);
/external/clang/lib/CodeGen/
H A DCGDebugInfo.cpp1224 SmallVector<llvm::Value *, 16> TemplateParams; local
1235 TemplateParams.push_back(TTP);
1243 TemplateParams.push_back(TVP);
1281 TemplateParams.push_back(TVP);
1302 TemplateParams.push_back(TVP);
1310 TemplateParams.push_back(TVP);
1317 TemplateParams.push_back(TVP);
1328 TemplateParams.push_back(TVP);
1337 return DBuilder.getOrCreateArray(TemplateParams);
/external/clang/lib/AST/
H A DASTImporter.cpp3934 TemplateParameterList *TemplateParams local
3936 if (!TemplateParams)
3946 TemplateParams);
4020 TemplateParameterList *TemplateParams local
4022 if (!TemplateParams)
4026 Loc, Name, TemplateParams,
4217 TemplateParameterList *TemplateParams =
4219 if (!TemplateParams)
4223 Importer.getToContext(), DC, Loc, Name, TemplateParams, D2Templated);
H A DDeclTemplate.cpp817 TemplateParams(Params), ArgsAsWritten(ArgInfos),
1129 TemplateParams(Params), ArgsAsWritten(ArgInfos),
H A DExpr.cpp557 std::string TemplateParams; local
558 llvm::raw_string_ostream TOut(TemplateParams);
591 if (!TemplateParams.empty()) {
593 TemplateParams.resize(TemplateParams.size() - 2);
594 POut << " [" << TemplateParams << "]"; local
/external/clang/include/clang/Serialization/
H A DASTWriter.h651 void AddTemplateParameterList(const TemplateParameterList *TemplateParams,
/external/clang/lib/Serialization/
H A DASTWriter.cpp5203 ASTWriter::AddTemplateParameterList(const TemplateParameterList *TemplateParams, argument
5205 assert(TemplateParams && "No TemplateParams!");
5206 AddSourceLocation(TemplateParams->getTemplateLoc(), Record);
5207 AddSourceLocation(TemplateParams->getLAngleLoc(), Record);
5208 AddSourceLocation(TemplateParams->getRAngleLoc(), Record);
5209 Record.push_back(TemplateParams->size());
5211 P = TemplateParams->begin(), PEnd = TemplateParams->end();
H A DASTReaderDecl.cpp1571 TemplateParameterList* TemplateParams local
1573 D->init(TemplatedDecl, TemplateParams);
1784 D->TemplateParams = Reader.ReadTemplateParameterList(F, Record, Idx);
1893 D->TemplateParams = Reader.ReadTemplateParameterList(F, Record, Idx);
H A DASTReader.cpp7627 TemplateParameterList* TemplateParams =
7630 return TemplateParams;
/external/llvm/lib/IR/
H A DDIBuilder.cpp620 MDNode *TemplateParams,
639 TemplateParams,
907 nullptr, //TemplateParams
941 nullptr, //TemplateParams
612 createClassType(DIDescriptor Context, StringRef Name, DIFile File, unsigned LineNumber, uint64_t SizeInBits, uint64_t AlignInBits, uint64_t OffsetInBits, unsigned Flags, DIType DerivedFrom, DIArray Elements, DIType VTableHolder, MDNode *TemplateParams, StringRef UniqueIdentifier) argument

Completed in 800 milliseconds