Searched refs:FTD (Results 1 – 15 of 15) sorted by relevance
189 const FunctionTemplateDecl *FTD = cast<FunctionTemplateDecl>(CommentDecl); in fill() local192 const FunctionDecl *FD = FTD->getTemplatedDecl(); in fill()196 TemplateParameters = FTD->getTemplateParameters(); in fill()
604 else if (FunctionTemplateDecl *FTD = in VisitFriendDecl() local607 VisitFunctionTemplateDecl(FTD); in VisitFriendDecl()
244 if (const FunctionTemplateDecl *FTD = FD->getDescribedFunctionTemplate()) in adjustDeclToTemplate() local245 return FTD; in adjustDeclToTemplate()252 if (const FunctionTemplateDecl *FTD = FD->getPrimaryTemplate()) in adjustDeclToTemplate() local253 return FTD; in adjustDeclToTemplate()
137 if (FunctionTemplateDecl *FTD = dyn_cast<FunctionTemplateDecl>(ND)) in getSourceRange() local138 return FTD->getSourceRange(); in getSourceRange()
2252 inline AnyFunctionDecl::AnyFunctionDecl(FunctionTemplateDecl *FTD)2253 : Function(FTD) { }
56 AnyFunctionDecl(FunctionTemplateDecl *FTD);
211 struct FTD { struct220 struct FTD ForbiddenTypeData; argument
524 FunctionTemplateDecl *FTD = (*I)->getPrimaryTemplate(); in MatchesFriend() local525 if (!FTD) in MatchesFriend()526 FTD = (*I)->getDescribedFunctionTemplate(); in MatchesFriend()527 if (!FTD) in MatchesFriend()530 FTD = FTD->getCanonicalDecl(); in MatchesFriend()532 if (Friend == FTD) in MatchesFriend()535 if (EC.isDependent() && MightInstantiateTo(S, FTD, Friend)) in MatchesFriend()
4324 if (FunctionTemplateDecl *FTD = dyn_cast<FunctionTemplateDecl>(ND)) in ValidateCandidate() local4325 FD = FTD->getTemplatedDecl(); in ValidateCandidate()
8013 if (FunctionTemplateDecl *FTD = Ctor->getDescribedFunctionTemplate()) { in getEntry() local8014 TemplateParameterList *ParamList = FTD->getTemplateParameters(); in getEntry()8175 if (const FunctionTemplateDecl *FTD = in declareCtor() local8177 TemplateParams = FTD->getTemplateParameters(); in declareCtor()11473 if (FunctionTemplateDecl *FTD = dyn_cast<FunctionTemplateDecl>(ND)) in ActOnFriendFunctionDecl() local11474 FD = FTD->getTemplatedDecl(); in ActOnFriendFunctionDecl()
1790 if (FunctionTemplateDecl *FTD = in DiagnoseEmptyLookup() local1793 FTD, DeclAccessPair::make(FTD, AS_none), ExplicitTemplateArgs, in DiagnoseEmptyLookup()
9405 if (FunctionTemplateDecl *FTD = dyn_cast<FunctionTemplateDecl>(D)) in canSkipFunctionBody() local9406 FD = FTD->getTemplatedDecl(); in canSkipFunctionBody()
448 FunctionTemplateDecl* FTD = cast<FunctionTemplateDecl>(*I); in PrintDeclContext() local449 Out << "<function template> " << *FTD << '\n'; in PrintDeclContext()
164 if (const FunctionTemplateDecl *FTD = dyn_cast<FunctionTemplateDecl>(D)) { in clang_getCursorType() local165 if (TypeSourceInfo *TSInfo = FTD->getTemplatedDecl()->getTypeSourceInfo()) in clang_getCursorType()167 return MakeCXType(FTD->getTemplatedDecl()->getType(), TU); in clang_getCursorType()
1137 else if (FunctionTemplateDecl *FTD = dyn_cast<FunctionTemplateDecl>(D)) in CollectCXXMemberFunctions() local1138 for (FunctionTemplateDecl::spec_iterator SI = FTD->spec_begin(), in CollectCXXMemberFunctions()1139 SE = FTD->spec_end(); SI != SE; ++SI) in CollectCXXMemberFunctions()