Home
last modified time | relevance | path

Searched refs:FTD (Results 1 – 17 of 17) sorted by relevance

/external/clang/lib/AST/
DComment.cpp188 const FunctionTemplateDecl *FTD = cast<FunctionTemplateDecl>(CommentDecl); in fill() local
191 const FunctionDecl *FD = FTD->getTemplatedDecl(); in fill()
194 TemplateParameters = FTD->getTemplateParameters(); in fill()
DCommentSema.cpp821 if (const FunctionTemplateDecl *FTD = in isFunctionOrMethodVariadic() local
823 return FTD->getTemplatedDecl()->isVariadic(); in isFunctionOrMethodVariadic()
DMicrosoftMangle.cpp71 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()
DDeclPrinter.cpp624 else if (FunctionTemplateDecl *FTD = in VisitFriendDecl() local
627 VisitFunctionTemplateDecl(FTD); in VisitFriendDecl()
DDeclBase.cpp165 if (const FunctionTemplateDecl *FTD = dyn_cast<FunctionTemplateDecl>(this)) in getAsFunction() local
166 return FTD->getTemplatedDecl(); in getAsFunction()
DASTContext.cpp266 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/
DDeclFriend.h140 if (FunctionTemplateDecl *FTD = dyn_cast<FunctionTemplateDecl>(ND)) in getSourceRange() local
141 return FTD->getSourceRange(); in getSourceRange()
DDeclTemplate.h2234 inline AnyFunctionDecl::AnyFunctionDecl(FunctionTemplateDecl *FTD)
2235 : Function(FTD) { }
DDeclCXX.h55 AnyFunctionDecl(FunctionTemplateDecl *FTD);
/external/clang/include/clang/Sema/
DDelayedDiagnostic.h222 struct FTD { struct
231 struct FTD ForbiddenTypeData; argument
/external/clang/lib/Sema/
DSemaAccess.cpp520 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()
DSemaLookup.cpp4429 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()
DSemaDeclCXX.cpp6489 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()
DSemaCodeComplete.cpp4055 } else if (auto FTD = dyn_cast<FunctionTemplateDecl>(C)) { in CodeCompleteConstructor() local
4056 AddTemplateOverloadCandidate(FTD, in CodeCompleteConstructor()
4057 DeclAccessPair::make(FTD, C->getAccess()), in CodeCompleteConstructor()
DSemaExpr.cpp1915 if (FunctionTemplateDecl *FTD = in DiagnoseEmptyLookup() local
1918 FTD, DeclAccessPair::make(FTD, AS_none), ExplicitTemplateArgs, in DiagnoseEmptyLookup()
/external/clang/lib/Frontend/
DASTConsumers.cpp455 FunctionTemplateDecl* FTD = cast<FunctionTemplateDecl>(I); in PrintDeclContext() local
456 Out << "<function template> " << *FTD << '\n'; in PrintDeclContext()
/external/clang/tools/libclang/
DCXType.cpp171 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()