Searched defs:FunctionTemplate (Results 1 - 7 of 7) sorted by relevance

/external/clang/lib/Sema/
H A DSemaTemplateInstantiate.cpp262 FunctionTemplateDecl *FunctionTemplate,
270 FunctionTemplate, nullptr, TemplateArgs, &DeductionInfo);
261 InstantiatingTemplate(Sema &SemaRef, SourceLocation PointOfInstantiation, FunctionTemplateDecl *FunctionTemplate, ArrayRef<TemplateArgument> TemplateArgs, ActiveTemplateInstantiation::InstantiationKind Kind, sema::TemplateDeductionInfo &DeductionInfo, SourceRange InstantiationRange) argument
H A DSemaTemplateDeduction.cpp2484 /// \param FunctionTemplate the function template into which the explicit
2507 FunctionTemplateDecl *FunctionTemplate,
2513 FunctionDecl *Function = FunctionTemplate->getTemplatedDecl();
2515 = FunctionTemplate->getTemplateParameters();
2543 InstantiatingTemplate Inst(*this, Info.getLocation(), FunctionTemplate,
2550 if (CheckTemplateArgumentList(FunctionTemplate,
2572 ContextRAII SavedContext(*this, FunctionTemplate->getTemplatedDecl());
2781 Sema::FinishTemplateArgumentDeduction(FunctionTemplateDecl *FunctionTemplate, argument
2788 = FunctionTemplate->getTemplateParameters();
2797 InstantiatingTemplate Inst(*this, Info.getLocation(), FunctionTemplate,
2506 SubstituteExplicitTemplateArguments( FunctionTemplateDecl *FunctionTemplate, TemplateArgumentListInfo &ExplicitTemplateArgs, SmallVectorImpl<DeducedTemplateArgument> &Deduced, SmallVectorImpl<QualType> &ParamTypes, QualType *FunctionType, TemplateDeductionInfo &Info) argument
3297 DeduceTemplateArguments( FunctionTemplateDecl *FunctionTemplate, TemplateArgumentListInfo *ExplicitTemplateArgs, ArrayRef<Expr *> Args, FunctionDecl *&Specialization, TemplateDeductionInfo &Info) argument
3543 DeduceTemplateArguments(FunctionTemplateDecl *FunctionTemplate, TemplateArgumentListInfo *ExplicitTemplateArgs, QualType ArgFunctionType, FunctionDecl *&Specialization, TemplateDeductionInfo &Info, bool InOverloadResolution) argument
3895 DeduceTemplateArguments(FunctionTemplateDecl *FunctionTemplate, TemplateArgumentListInfo *ExplicitTemplateArgs, FunctionDecl *&Specialization, TemplateDeductionInfo &Info, bool InOverloadResolution) argument
5077 MarkDeducedTemplateParameters(ASTContext &Ctx, const FunctionTemplateDecl *FunctionTemplate, llvm::SmallBitVector &Deduced) argument
5091 hasDeducibleTemplateParameters(Sema &S, FunctionTemplateDecl *FunctionTemplate, QualType T) argument
[all...]
H A DSemaTemplateInstantiateDecl.cpp1227 FunctionTemplateDecl *FunctionTemplate = D->getDescribedFunctionTemplate(); local
1228 if (FunctionTemplate && !TemplateParams) {
1233 = FunctionTemplate->findSpecialization(Innermost, InsertPos);
1241 if (FunctionTemplate)
1242 isFriend = (FunctionTemplate->getFriendObjectKind() != Decl::FOK_None);
1330 FunctionTemplate = FunctionTemplateDecl::Create(SemaRef.Context, DC,
1334 Function->setDescribedFunctionTemplate(FunctionTemplate);
1336 FunctionTemplate->setLexicalDeclContext(LexicalDC);
1341 FunctionTemplate->setInstantiatedFromMemberTemplate(
1344 } else if (FunctionTemplate) {
1501 FunctionTemplateDecl *FunctionTemplate = D->getDescribedFunctionTemplate(); local
[all...]
H A DSemaDecl.cpp917 return NameClassification::FunctionTemplate(Template);
6799 FunctionTemplateDecl *FunctionTemplate = nullptr; local
6890 FunctionTemplate = FunctionTemplateDecl::Create(Context, DC,
6894 FunctionTemplate->setLexicalDeclContext(CurContext);
6895 NewFD->setDescribedFunctionTemplate(FunctionTemplate);
6947 if (FunctionTemplate)
6948 FunctionTemplate->setInvalidDecl();
7053 if (FunctionTemplate)
7054 FunctionTemplate->setModulePrivate();
7059 if (FunctionTemplate) {
[all...]
H A DSemaOverload.cpp5987 Sema::AddTemplateOverloadCandidate(FunctionTemplateDecl *FunctionTemplate, argument
5993 if (!CandidateSet.isNewCandidate(FunctionTemplate))
6008 = DeduceTemplateArguments(FunctionTemplate, ExplicitTemplateArgs, Args,
6012 Candidate.Function = FunctionTemplate->getTemplatedDecl();
6243 Sema::AddTemplateConversionCandidate(FunctionTemplateDecl *FunctionTemplate, argument
6249 assert(isa<CXXConversionDecl>(FunctionTemplate->getTemplatedDecl()) &&
6252 if (!CandidateSet.isNewCandidate(FunctionTemplate))
6258 = DeduceTemplateArguments(FunctionTemplate, ToType,
6262 Candidate.Function = FunctionTemplate->getTemplatedDecl();
9728 bool AddMatchingTemplateFunction(FunctionTemplateDecl* FunctionTemplate, argument
10056 FunctionTemplateDecl *FunctionTemplate local
[all...]
/external/chromium_org/v8/include/
H A Dv8.h74 class FunctionTemplate;
112 class FunctionTemplate;
2386 Local<Object> FindInstanceInPrototypeChain(Handle<FunctionTemplate> tmpl);
3344 Local<FunctionTemplate> getter = Local<FunctionTemplate>(),
3345 Local<FunctionTemplate> setter = Local<FunctionTemplate>(),
3373 * defined by FunctionTemplate::HasInstance()), an implicit TypeError is
3407 friend class FunctionTemplate;
3537 * A FunctionTemplate i
3628 class V8_EXPORT FunctionTemplate : public Template { class in namespace:v8
[all...]
/external/clang/include/clang/Sema/
H A DSema.h1480 static NameClassification FunctionTemplate(TemplateName Name) { function in class:clang::Sema::NameClassification
2274 void AddTemplateOverloadCandidate(FunctionTemplateDecl *FunctionTemplate,
2286 void AddTemplateConversionCandidate(FunctionTemplateDecl *FunctionTemplate,
5972 FunctionTemplateDecl *FunctionTemplate,
5993 FinishTemplateArgumentDeduction(FunctionTemplateDecl *FunctionTemplate,
6001 DeduceTemplateArguments(FunctionTemplateDecl *FunctionTemplate,
6008 DeduceTemplateArguments(FunctionTemplateDecl *FunctionTemplate,
6016 DeduceTemplateArguments(FunctionTemplateDecl *FunctionTemplate,
6022 DeduceTemplateArguments(FunctionTemplateDecl *FunctionTemplate,
6083 const FunctionTemplateDecl *FunctionTemplate,
6082 MarkDeducedTemplateParameters( const FunctionTemplateDecl *FunctionTemplate, llvm::SmallBitVector &Deduced) argument
[all...]

Completed in 304 milliseconds