/external/clang/lib/AST/ |
D | Comment.cpp | 188 const FunctionTemplateDecl *FTD = cast<FunctionTemplateDecl>(CommentDecl); in fill() local 191 const FunctionDecl *FD = FTD->getTemplatedDecl(); in fill() 194 TemplateParameters = FTD->getTemplateParameters(); in fill()
|
D | CommentSema.cpp | 821 if (const FunctionTemplateDecl *FTD = in isFunctionOrMethodVariadic() local 823 return FTD->getTemplatedDecl()->isVariadic(); in isFunctionOrMethodVariadic()
|
D | MicrosoftMangle.cpp | 71 if (const auto *FTD = dyn_cast<FunctionTemplateDecl>(ND)) in getStructor() local 72 return FTD->getTemplatedDecl(); in getStructor() 75 if (const auto *FTD = FD->getPrimaryTemplate()) in getStructor() local 76 return FTD->getTemplatedDecl(); in getStructor()
|
D | DeclPrinter.cpp | 624 else if (FunctionTemplateDecl *FTD = in VisitFriendDecl() local 627 VisitFunctionTemplateDecl(FTD); in VisitFriendDecl()
|
D | DeclBase.cpp | 165 if (const FunctionTemplateDecl *FTD = dyn_cast<FunctionTemplateDecl>(this)) in getAsFunction() local 166 return FTD->getTemplatedDecl(); in getAsFunction()
|
D | ASTContext.cpp | 266 if (const FunctionTemplateDecl *FTD = FD->getDescribedFunctionTemplate()) in adjustDeclToTemplate() local 267 return FTD; in adjustDeclToTemplate() 274 if (const FunctionTemplateDecl *FTD = FD->getPrimaryTemplate()) in adjustDeclToTemplate() local 275 return FTD; in adjustDeclToTemplate()
|
/external/clang/include/clang/AST/ |
D | DeclFriend.h | 140 if (FunctionTemplateDecl *FTD = dyn_cast<FunctionTemplateDecl>(ND)) in getSourceRange() local 141 return FTD->getSourceRange(); in getSourceRange()
|
D | DeclTemplate.h | 2234 inline AnyFunctionDecl::AnyFunctionDecl(FunctionTemplateDecl *FTD) 2235 : Function(FTD) { }
|
D | DeclCXX.h | 55 AnyFunctionDecl(FunctionTemplateDecl *FTD);
|
/external/clang/include/clang/Sema/ |
D | DelayedDiagnostic.h | 222 struct FTD { struct 231 struct FTD ForbiddenTypeData; argument
|
/external/clang/lib/Sema/ |
D | SemaAccess.cpp | 520 FunctionTemplateDecl *FTD = (*I)->getPrimaryTemplate(); in MatchesFriend() local 521 if (!FTD) in MatchesFriend() 522 FTD = (*I)->getDescribedFunctionTemplate(); in MatchesFriend() 523 if (!FTD) in MatchesFriend() 526 FTD = FTD->getCanonicalDecl(); in MatchesFriend() 528 if (Friend == FTD) in MatchesFriend() 531 if (EC.isDependent() && MightInstantiateTo(S, FTD, Friend)) in MatchesFriend()
|
D | SemaLookup.cpp | 4429 if (FunctionTemplateDecl *FTD = dyn_cast<FunctionTemplateDecl>(D)) in ValidateCandidate() local 4430 D = FTD->getTemplatedDecl(); in ValidateCandidate() 4465 if (FunctionTemplateDecl *FTD = dyn_cast<FunctionTemplateDecl>(ND)) in ValidateCandidate() local 4466 FD = FTD->getTemplatedDecl(); in ValidateCandidate()
|
D | SemaDeclCXX.cpp | 6489 if (FunctionTemplateDecl *FTD = FD->getDescribedFunctionTemplate()) in ActOnReenterTemplateScope() local 6490 ParameterLists.push_back(FTD->getTemplateParameters()); in ActOnReenterTemplateScope() 9002 if (FunctionTemplateDecl *FTD = Ctor->getDescribedFunctionTemplate()) { in getEntry() local 9003 TemplateParameterList *ParamList = FTD->getTemplateParameters(); in getEntry() 9162 if (const FunctionTemplateDecl *FTD = in declareCtor() local 9164 TemplateParams = FTD->getTemplateParameters(); in declareCtor() 12696 if (FunctionTemplateDecl *FTD = dyn_cast<FunctionTemplateDecl>(ND)) in ActOnFriendFunctionDecl() local 12697 FD = FTD->getTemplatedDecl(); in ActOnFriendFunctionDecl()
|
D | SemaCodeComplete.cpp | 4055 } else if (auto FTD = dyn_cast<FunctionTemplateDecl>(C)) { in CodeCompleteConstructor() local 4056 AddTemplateOverloadCandidate(FTD, in CodeCompleteConstructor() 4057 DeclAccessPair::make(FTD, C->getAccess()), in CodeCompleteConstructor()
|
D | SemaExpr.cpp | 1915 if (FunctionTemplateDecl *FTD = in DiagnoseEmptyLookup() local 1918 FTD, DeclAccessPair::make(FTD, AS_none), ExplicitTemplateArgs, in DiagnoseEmptyLookup()
|
/external/clang/lib/Frontend/ |
D | ASTConsumers.cpp | 455 FunctionTemplateDecl* FTD = cast<FunctionTemplateDecl>(I); in PrintDeclContext() local 456 Out << "<function template> " << *FTD << '\n'; in PrintDeclContext()
|
/external/clang/tools/libclang/ |
D | CXType.cpp | 171 if (const FunctionTemplateDecl *FTD = dyn_cast<FunctionTemplateDecl>(D)) { in clang_getCursorType() local 172 if (TypeSourceInfo *TSInfo = FTD->getTemplatedDecl()->getTypeSourceInfo()) in clang_getCursorType() 174 return MakeCXType(FTD->getTemplatedDecl()->getType(), TU); in clang_getCursorType()
|