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

123

/external/clang/include/clang/AST/
H A DASTLambda.h56 if (FunctionTemplateDecl *F = dyn_cast<FunctionTemplateDecl>(D))
H A DASTMutationListener.h25 class FunctionTemplateDecl;
65 virtual void AddedCXXTemplateSpecialization(const FunctionTemplateDecl *TD,
H A DDeclTemplate.h30 class FunctionTemplateDecl;
291 FunctionTemplateDecl *Template,
304 Create(ASTContext &C, FunctionDecl *FD, FunctionTemplateDecl *Template,
318 llvm::PointerIntPair<FunctionTemplateDecl *, 2> Template;
332 FunctionTemplateDecl *getTemplate() const { return Template.getPointer(); }
482 FunctionTemplateDecl * const *getTemplates() const {
483 return reinterpret_cast<FunctionTemplateDecl*const*>(this+1);
498 FunctionTemplateDecl *getTemplate(unsigned I) const {
690 /// \c X<int>::f is a FunctionTemplateDecl that describes the function
698 /// getInstantiatedFromMemberTemplate() on this FunctionTemplateDecl wil
747 class FunctionTemplateDecl : public RedeclarableTemplateDecl { class in class:clang::TemplateParameterList
777 FunctionTemplateDecl(ASTContext &C, DeclContext *DC, SourceLocation L, function in class:clang::TemplateParameterList::FunctionTemplateDecl
[all...]
H A DDeclFriend.h138 if (FunctionTemplateDecl *FTD = dyn_cast<FunctionTemplateDecl>(ND))
H A DDecl.h36 class FunctionTemplateDecl;
1485 /// pointer to a FunctionTemplateDecl. For member functions
1492 llvm::PointerUnion4<FunctionTemplateDecl *,
1524 FunctionTemplateDecl *Template,
1991 /// Every function template is represented as a FunctionTemplateDecl
1996 /// contents. FunctionTemplateDecl::getTemplatedDecl() retrieves the
1999 /// FunctionTemplateDecl from a FunctionDecl.
2000 FunctionTemplateDecl *getDescribedFunctionTemplate() const {
2001 return TemplateOrSpecialization.dyn_cast<FunctionTemplateDecl*>();
2004 void setDescribedFunctionTemplate(FunctionTemplateDecl *Templat
[all...]
/external/clang/lib/AST/
H A DDeclFriend.cpp37 isa<FunctionTemplateDecl>(D) ||
H A DDeclTemplate.cpp218 // FunctionTemplateDecl Implementation
221 void FunctionTemplateDecl::DeallocateCommon(void *Ptr) {
225 FunctionTemplateDecl *FunctionTemplateDecl::Create(ASTContext &C,
232 return new (C, DC) FunctionTemplateDecl(C, DC, L, Name, Params, Decl);
235 FunctionTemplateDecl *FunctionTemplateDecl::CreateDeserialized(ASTContext &C,
237 return new (C, ID) FunctionTemplateDecl(C, nullptr, SourceLocation(),
242 FunctionTemplateDecl::newCommon(ASTContext &C) const {
248 void FunctionTemplateDecl
[all...]
H A DComment.cpp190 const FunctionTemplateDecl *FTD = cast<FunctionTemplateDecl>(CommentDecl);
H A DDecl.cpp380 FunctionTemplateDecl *temp = specInfo->getTemplate();
1441 if (const FunctionTemplateDecl *FunctionTemplate
1442 = dyn_cast<FunctionTemplateDecl>(this))
1443 if (const FunctionTemplateDecl *OldFunctionTemplate
1444 = dyn_cast<FunctionTemplateDecl>(OldD))
2518 if (FunctionTemplateDecl *FunTmpl = getDescribedFunctionTemplate()) {
2519 FunctionTemplateDecl *PrevFunTmpl
2858 if (TemplateOrSpecialization.is<FunctionTemplateDecl *>())
2967 if (FunctionTemplateDecl *Primary = getPrimaryTemplate()) {
2982 FunctionTemplateDecl *FunctionDec
[all...]
H A DDeclCXX.cpp436 FunctionTemplateDecl *FunTmpl = dyn_cast<FunctionTemplateDecl>(D);
993 if (FunctionTemplateDecl *CallOpTmpl =
994 dyn_cast<FunctionTemplateDecl>(CallOp))
1008 if (FunctionTemplateDecl *InvokerTemplate =
1009 dyn_cast<FunctionTemplateDecl>(InvokerFun))
1037 if (FunctionTemplateDecl *Tmpl = CallOp->getDescribedFunctionTemplate())
/external/clang/include/clang/Sema/
H A DCodeCompleteConsumer.h145 class FunctionTemplateDecl;
849 FunctionTemplateDecl *FunctionTemplate;
860 OverloadCandidate(FunctionTemplateDecl *FunctionTemplateDecl)
861 : Kind(CK_FunctionTemplate), FunctionTemplate(FunctionTemplateDecl) { }
874 FunctionTemplateDecl *getFunctionTemplate() const {
/external/lldb/include/lldb/Core/
H A DClangForward.h70 class FunctionTemplateDecl;
/external/clang/lib/Sema/
H A DSemaLambda.cpp402 FunctionTemplateDecl *const TemplateMethod = TemplateParams ?
403 FunctionTemplateDecl::Create(Context, Class,
1277 FunctionTemplateDecl *TemplateCallOperator =
1279 FunctionTemplateDecl *ConversionTemplate =
1280 FunctionTemplateDecl::Create(S.Context, Class,
1319 FunctionTemplateDecl *TemplateCallOperator =
1321 FunctionTemplateDecl *StaticInvokerTemplate = FunctionTemplateDecl::Create(
H A DSemaTemplateDeduction.cpp2507 FunctionTemplateDecl *FunctionTemplate,
2781 Sema::FinishTemplateArgumentDeduction(FunctionTemplateDecl *FunctionTemplate,
3069 if (FunctionTemplateDecl *FunTmpl = dyn_cast<FunctionTemplateDecl>(D)) {
3235 FunctionTemplateDecl *FunctionTemplate,
3298 FunctionTemplateDecl *FunctionTemplate,
3543 Sema::DeduceTemplateArguments(FunctionTemplateDecl *FunctionTemplate,
3668 FunctionTemplateDecl *CallOpTemplate =
3698 FunctionTemplateDecl *InvokerTemplate = LambdaClass->
3743 Sema::DeduceTemplateArguments(FunctionTemplateDecl *ConversionTemplat
[all...]
H A DSemaAccess.cpp394 FunctionTemplateDecl *Context,
395 FunctionTemplateDecl *Friend) {
512 FunctionTemplateDecl *Friend) {
520 FunctionTemplateDecl *FTD = (*I)->getPrimaryTemplate();
559 if (isa<FunctionTemplateDecl>(Friend))
560 return MatchesFriend(S, EC, cast<FunctionTemplateDecl>(Friend));
1074 (isa<FunctionTemplateDecl>(D) &&
1076 cast<FunctionTemplateDecl>(D)->getTemplatedDecl()))) {
H A DSemaOverload.cpp942 if (!isa<FunctionTemplateDecl>(OldD) &&
981 FunctionTemplateDecl *OldTemplate = Old->getDescribedFunctionTemplate();
982 FunctionTemplateDecl *NewTemplate = New->getDescribedFunctionTemplate();
2955 FunctionTemplateDecl *ConstructorTmpl
2956 = dyn_cast<FunctionTemplateDecl>(D);
3090 FunctionTemplateDecl *ConstructorTmpl
3091 = dyn_cast<FunctionTemplateDecl>(D);
3151 FunctionTemplateDecl *ConvTemplate;
3152 if ((ConvTemplate = dyn_cast<FunctionTemplateDecl>(D)))
4089 FunctionTemplateDecl *ConvTemplat
[all...]
H A DSemaLookup.cpp322 isa<FunctionTemplateDecl>((*begin())->getUnderlyingDecl())));
367 if (isa<FunctionTemplateDecl>(D))
429 } else if (isa<FunctionTemplateDecl>(D)) {
702 FunctionTemplateDecl *ConvTemplate = dyn_cast<FunctionTemplateDecl>(*U);
2504 } else if (FunctionTemplateDecl *Tmpl =
2505 dyn_cast<FunctionTemplateDecl>(Cand)) {
2693 if (FunctionTemplateDecl *FD = dyn_cast<FunctionTemplateDecl>(D)) {
2850 if (!isa<FunctionDecl>(D) && !isa<FunctionTemplateDecl>(
[all...]
H A DSemaTemplateInstantiateDecl.cpp1086 TemplateDeclInstantiator::VisitFunctionTemplateDecl(FunctionTemplateDecl *D) {
1112 FunctionTemplateDecl *InstTemplate
1227 FunctionTemplateDecl *FunctionTemplate = D->getDescribedFunctionTemplate();
1330 FunctionTemplate = FunctionTemplateDecl::Create(SemaRef.Context, DC,
1394 Previous.addDecl(cast<FunctionTemplateDecl>(Temp));
1501 FunctionTemplateDecl *FunctionTemplate = D->getDescribedFunctionTemplate();
1656 FunctionTemplate = FunctionTemplateDecl::Create(SemaRef.Context, Record,
3202 if (FunctionTemplateDecl *FunTmpl
3203 = dyn_cast<FunctionTemplateDecl>(ActiveInst.Entity)) {
4166 static bool isInstantiationOf(FunctionTemplateDecl *Patter
[all...]
/external/lldb/include/lldb/Symbol/
H A DClangASTContext.h266 clang::FunctionTemplateDecl *
274 clang::FunctionTemplateDecl *Template,
/external/clang/lib/Index/
H A DUSRGeneration.cpp81 void VisitFunctionTemplateDecl(const FunctionTemplateDecl *D);
201 if (FunctionTemplateDecl *FunTmpl = D->getDescribedFunctionTemplate()) {
296 void USRGenerator::VisitFunctionTemplateDecl(const FunctionTemplateDecl *D) {
/external/clang/lib/Frontend/
H A DASTConsumers.cpp446 FunctionTemplateDecl* FTD = cast<FunctionTemplateDecl>(I);
H A DMultiplexConsumer.cpp99 void AddedCXXTemplateSpecialization(const FunctionTemplateDecl *TD,
147 const FunctionTemplateDecl *TD, const FunctionDecl *D) {
/external/clang/tools/libclang/
H A DIndexingContext.h22 class FunctionTemplateDecl;
428 bool handleFunctionTemplate(const FunctionTemplateDecl *D);
H A DCursorVisitor.h217 bool VisitFunctionTemplateDecl(FunctionTemplateDecl *D);
H A DIndexingContext.cpp640 bool IndexingContext::handleFunctionTemplate(const FunctionTemplateDecl *D) {
825 if (FunctionTemplateDecl *TemplD = FD->getDescribedFunctionTemplate())
843 } else if (const FunctionTemplateDecl *
844 FuncTempl = dyn_cast<FunctionTemplateDecl>(D)) {
1055 cast<FunctionTemplateDecl>(D)->getTemplatedDecl())) {

Completed in 8412 milliseconds

123