/external/clang/include/clang/AST/ |
H A D | ASTMutationListener.h | 24 class FunctionTemplateDecl; 53 virtual void AddedCXXTemplateSpecialization(const FunctionTemplateDecl *TD,
|
H A D | DeclTemplate.h | 30 class FunctionTemplateDecl; 248 static bool classof(const FunctionTemplateDecl *D) { return true; } 281 FunctionTemplateDecl *Template, 294 Create(ASTContext &C, FunctionDecl *FD, FunctionTemplateDecl *Template, 308 llvm::PointerIntPair<FunctionTemplateDecl *, 2> Template; 322 FunctionTemplateDecl *getTemplate() const { return Template.getPointer(); } 451 FunctionTemplateDecl * const *getTemplates() const { 452 return reinterpret_cast<FunctionTemplateDecl*const*>(this+1); 467 FunctionTemplateDecl *getTemplate(unsigned I) const { 657 /// \c X<int>::f is a FunctionTemplateDecl tha 715 class FunctionTemplateDecl : public RedeclarableTemplateDecl { class in class:clang::TemplateParameterList 738 FunctionTemplateDecl(DeclContext *DC, SourceLocation L, DeclarationName Name, function in class:clang::TemplateParameterList::FunctionTemplateDecl [all...] |
H A D | Decl.h | 30 class FunctionTemplateDecl; 1496 /// pointer to a FunctionTemplateDecl. For member functions 1503 llvm::PointerUnion4<FunctionTemplateDecl *, 1535 FunctionTemplateDecl *Template, 1929 /// Every function template is represented as a FunctionTemplateDecl 1934 /// contents. FunctionTemplateDecl::getTemplatedDecl() retrieves the 1937 /// FunctionTemplateDecl from a FunctionDecl. 1938 FunctionTemplateDecl *getDescribedFunctionTemplate() const { 1939 return TemplateOrSpecialization.dyn_cast<FunctionTemplateDecl*>(); 1942 void setDescribedFunctionTemplate(FunctionTemplateDecl *Templat [all...] |
/external/clang/lib/AST/ |
H A D | DeclFriend.cpp | 36 isa<FunctionTemplateDecl>(D) ||
|
H A D | DeclTemplate.cpp | 219 // FunctionTemplateDecl Implementation 222 void FunctionTemplateDecl::DeallocateCommon(void *Ptr) { 226 FunctionTemplateDecl *FunctionTemplateDecl::Create(ASTContext &C, 233 return new (C) FunctionTemplateDecl(DC, L, Name, Params, Decl); 236 FunctionTemplateDecl *FunctionTemplateDecl::CreateDeserialized(ASTContext &C, 238 void *Mem = AllocateDeserializedDecl(C, ID, sizeof(FunctionTemplateDecl)); 239 return new (Mem) FunctionTemplateDecl(0, SourceLocation(), DeclarationName(), 244 FunctionTemplateDecl [all...] |
H A D | Decl.cpp | 242 } else if (isa<FunctionDecl>(D) || isa<FunctionTemplateDecl>(D)) { 247 if (const FunctionTemplateDecl *FunTmpl 248 = dyn_cast<FunctionTemplateDecl>(D)) 642 if (FunctionTemplateDecl *temp = 643 dyn_cast<FunctionTemplateDecl>(const_cast<NamedDecl*>(this))) { 645 for (FunctionTemplateDecl::spec_iterator 955 if (const FunctionTemplateDecl *FunctionTemplate 956 = dyn_cast<FunctionTemplateDecl>(this)) 957 if (const FunctionTemplateDecl *OldFunctionTemplate 958 = dyn_cast<FunctionTemplateDecl>(Old [all...] |
H A D | Comment.cpp | 202 const FunctionTemplateDecl *FTD = cast<FunctionTemplateDecl>(ThisDecl);
|
H A D | DeclPrinter.cpp | 67 void VisitFunctionTemplateDecl(FunctionTemplateDecl *D); 819 void DeclPrinter::VisitFunctionTemplateDecl(FunctionTemplateDecl *D) { 822 for (FunctionTemplateDecl::spec_iterator I = D->spec_begin(), E = D->spec_end();
|
H A D | DumpXML.cpp | 635 // FunctionTemplateDecl 636 void visitFunctionTemplateDeclAttrs(FunctionTemplateDecl *D) { 639 void visitFunctionTemplateDeclChildren(FunctionTemplateDecl *D) { 642 for (FunctionTemplateDecl::spec_iterator
|
/external/clang/include/clang/Sema/ |
H A D | CodeCompleteConsumer.h | 145 class FunctionTemplateDecl; 867 FunctionTemplateDecl *FunctionTemplate; 878 OverloadCandidate(FunctionTemplateDecl *FunctionTemplateDecl) 879 : Kind(CK_FunctionTemplate), FunctionTemplate(FunctionTemplateDecl) { } 892 FunctionTemplateDecl *getFunctionTemplate() const {
|
H A D | Template.h | 411 Decl *VisitFunctionTemplateDecl(FunctionTemplateDecl *D);
|
/external/clang/lib/Sema/ |
H A D | SemaAccess.cpp | 389 FunctionTemplateDecl *Context, 390 FunctionTemplateDecl *Friend) { 507 FunctionTemplateDecl *Friend) { 515 FunctionTemplateDecl *FTD = (*I)->getPrimaryTemplate(); 554 if (isa<FunctionTemplateDecl>(Friend)) 555 return MatchesFriend(S, EC, cast<FunctionTemplateDecl>(Friend)); 1075 (isa<FunctionTemplateDecl>(D) && 1077 cast<FunctionTemplateDecl>(D)->getTemplatedDecl()))) { 1435 } else if (FunctionTemplateDecl *fnt = dyn_cast<FunctionTemplateDecl>(dec [all...] |
H A D | SemaTemplateDeduction.cpp | 2235 FunctionTemplateDecl *FunctionTemplate, 2515 Sema::FinishTemplateArgumentDeduction(FunctionTemplateDecl *FunctionTemplate, 2782 if (FunctionTemplateDecl *FunTmpl = dyn_cast<FunctionTemplateDecl>(D)) { 2947 FunctionTemplateDecl *FunctionTemplate, 3013 Sema::DeduceTemplateArguments(FunctionTemplateDecl *FunctionTemplate, 3269 Sema::DeduceTemplateArguments(FunctionTemplateDecl *FunctionTemplate, 3329 Sema::DeduceTemplateArguments(FunctionTemplateDecl *FunctionTemplate, 3447 Sema::DeduceTemplateArguments(FunctionTemplateDecl *FunctionTemplate, 3669 FunctionTemplateDecl *FT [all...] |
H A D | SemaLookup.cpp | 315 isa<FunctionTemplateDecl>((*begin())->getUnderlyingDecl()))); 350 if (isa<FunctionTemplateDecl>(D)) 406 } else if (isa<FunctionTemplateDecl>(D)) { 686 FunctionTemplateDecl *ConvTemplate = dyn_cast<FunctionTemplateDecl>(*U); 2123 FDecl = cast<FunctionTemplateDecl>(Fn)->getTemplatedDecl(); 2217 } else if (FunctionTemplateDecl *FunTmpl 2218 = dyn_cast<FunctionTemplateDecl>(Found)) { 2377 } else if (FunctionTemplateDecl *Tmpl = 2378 dyn_cast<FunctionTemplateDecl>(Can [all...] |
H A D | SemaOverload.cpp | 880 if (FunctionTemplateDecl *OldT = dyn_cast<FunctionTemplateDecl>(OldD)) { 929 FunctionTemplateDecl *OldTemplate = Old->getDescribedFunctionTemplate(); 930 FunctionTemplateDecl *NewTemplate = New->getDescribedFunctionTemplate(); 2867 FunctionTemplateDecl *ConstructorTmpl 2868 = dyn_cast<FunctionTemplateDecl>(D); 2997 FunctionTemplateDecl *ConstructorTmpl 2998 = dyn_cast<FunctionTemplateDecl>(D); 3057 FunctionTemplateDecl *ConvTemplate; 3058 if ((ConvTemplate = dyn_cast<FunctionTemplateDecl>( [all...] |
H A D | SemaTemplateInstantiateDecl.cpp | 914 TemplateDeclInstantiator::VisitFunctionTemplateDecl(FunctionTemplateDecl *D) { 940 FunctionTemplateDecl *InstTemplate 1020 FunctionTemplateDecl *FunctionTemplate = D->getDescribedFunctionTemplate(); 1133 FunctionTemplate = FunctionTemplateDecl::Create(SemaRef.Context, DC, 1195 Previous.addDecl(cast<FunctionTemplateDecl>(Temp)); 1322 FunctionTemplateDecl *FunctionTemplate = D->getDescribedFunctionTemplate(); 1465 FunctionTemplate = FunctionTemplateDecl::Create(SemaRef.Context, Record, 2567 if (FunctionTemplateDecl *FunTmpl 2568 = dyn_cast<FunctionTemplateDecl>((Decl *)ActiveInst.Entity)) { 3163 static bool isInstantiationOf(FunctionTemplateDecl *Patter [all...] |
/external/clang/lib/Analysis/ |
H A D | AnalysisDeclContext.cpp | 87 else if (const FunctionTemplateDecl *FunTmpl 88 = dyn_cast_or_null<FunctionTemplateDecl>(D))
|
/external/clang/lib/Frontend/ |
H A D | ASTConsumers.cpp | 442 FunctionTemplateDecl* FTD = cast<FunctionTemplateDecl>(*I);
|
H A D | MultiplexConsumer.cpp | 98 virtual void AddedCXXTemplateSpecialization(const FunctionTemplateDecl *TD, 138 const FunctionTemplateDecl *TD, const FunctionDecl *D) {
|
/external/clang/tools/libclang/ |
H A D | CursorVisitor.h | 217 bool VisitFunctionTemplateDecl(FunctionTemplateDecl *D);
|
H A D | IndexingContext.cpp | 553 bool IndexingContext::handleFunctionTemplate(const FunctionTemplateDecl *D) { 739 if (FunctionTemplateDecl *TemplD = FD->getDescribedFunctionTemplate()) 757 } if (const FunctionTemplateDecl * 758 FuncTempl = dyn_cast<FunctionTemplateDecl>(D)) { 969 cast<FunctionTemplateDecl>(D)->getTemplatedDecl())) {
|
H A D | IndexingContext.h | 22 class FunctionTemplateDecl; 437 bool handleFunctionTemplate(const FunctionTemplateDecl *D);
|
H A D | IndexDecl.cpp | 290 bool VisitFunctionTemplateDecl(FunctionTemplateDecl *D) {
|
/external/clang/lib/Parse/ |
H A D | ParseTemplate.cpp | 1254 if (FunctionTemplateDecl *FunTmpl = dyn_cast<FunctionTemplateDecl>(LMT.D)) 1320 if (FunctionTemplateDecl *FunctionTemplate 1321 = dyn_cast_or_null<FunctionTemplateDecl>(LMT.D))
|
H A D | ParseCXXInlineMethods.cpp | 121 if (FunctionTemplateDecl *FunTmpl = dyn_cast<FunctionTemplateDecl>(FnD))
|