Home
last modified time | relevance | path

Searched refs:FTD (Results 1 – 20 of 20) 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()
DDeclBase.cpp191 if (const FunctionTemplateDecl *FTD = dyn_cast<FunctionTemplateDecl>(this)) in getAsFunction() local
192 return FTD->getTemplatedDecl(); in getAsFunction()
498 if (auto *FTD = dyn_cast<FunctionTemplateDecl>(this)) in getAvailability() local
499 return FTD->getTemplatedDecl()->getAvailability(Message); in getAvailability()
DCommentSema.cpp819 if (const FunctionTemplateDecl *FTD = in isFunctionOrMethodVariadic() local
821 return FTD->getTemplatedDecl()->isVariadic(); in isFunctionOrMethodVariadic()
DMicrosoftMangle.cpp105 if (const auto *FTD = dyn_cast<FunctionTemplateDecl>(ND)) in getStructor() local
106 return FTD->getTemplatedDecl(); in getStructor()
109 if (const auto *FTD = FD->getPrimaryTemplate()) in getStructor() local
110 return FTD->getTemplatedDecl(); in getStructor()
DDeclPrinter.cpp674 else if (FunctionTemplateDecl *FTD = in VisitFriendDecl() local
677 VisitFunctionTemplateDecl(FTD); in VisitFriendDecl()
DASTContext.cpp267 if (const FunctionTemplateDecl *FTD = FD->getDescribedFunctionTemplate()) in adjustDeclToTemplate() local
268 return FTD; in adjustDeclToTemplate()
275 if (const FunctionTemplateDecl *FTD = FD->getPrimaryTemplate()) in adjustDeclToTemplate() local
276 return FTD; in adjustDeclToTemplate()
/external/clang/include/clang/AST/
DDeclFriend.h134 if (FunctionTemplateDecl *FTD = dyn_cast<FunctionTemplateDecl>(ND)) in getSourceRange() local
135 return FTD->getSourceRange(); in getSourceRange()
DDeclTemplate.h2358 inline AnyFunctionDecl::AnyFunctionDecl(FunctionTemplateDecl *FTD)
2359 : Function(FTD) { }
DDeclCXX.h57 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.cpp4847 if (FunctionTemplateDecl *FTD = dyn_cast<FunctionTemplateDecl>(D)) in ValidateCandidate() local
4848 D = FTD->getTemplatedDecl(); in ValidateCandidate()
4883 if (FunctionTemplateDecl *FTD = dyn_cast<FunctionTemplateDecl>(ND)) in ValidateCandidate() local
4884 FD = FTD->getTemplatedDecl(); in ValidateCandidate()
DSemaTemplateInstantiateDecl.cpp243 if (auto *FTD = dyn_cast<FunctionTemplateDecl>(New)) in instantiateOMPDeclareSimdDeclAttr() local
244 New = FTD->getTemplatedDecl(); in instantiateOMPDeclareSimdDeclAttr()
DSemaCodeComplete.cpp4137 } else if (auto FTD = dyn_cast<FunctionTemplateDecl>(C)) { in CodeCompleteConstructor() local
4138 AddTemplateOverloadCandidate(FTD, in CodeCompleteConstructor()
4139 DeclAccessPair::make(FTD, C->getAccess()), in CodeCompleteConstructor()
DSemaDeclCXX.cpp6686 if (FunctionTemplateDecl *FTD = FD->getDescribedFunctionTemplate()) in ActOnReenterTemplateScope() local
6687 ParameterLists.push_back(FTD->getTemplateParameters()); in ActOnReenterTemplateScope()
12992 if (FunctionTemplateDecl *FTD = dyn_cast<FunctionTemplateDecl>(ND)) in ActOnFriendFunctionDecl() local
12993 FD = FTD->getTemplatedDecl(); in ActOnFriendFunctionDecl()
DSemaExpr.cpp1976 if (FunctionTemplateDecl *FTD = in DiagnoseEmptyLookup() local
1979 FTD, DeclAccessPair::make(FTD, AS_none), ExplicitTemplateArgs, in DiagnoseEmptyLookup()
DSemaOpenMP.cpp3646 if (auto *FTD = dyn_cast<FunctionTemplateDecl>(ADecl)) in ActOnOpenMPDeclareSimdDirective() local
3647 ADecl = FTD->getTemplatedDecl(); in ActOnOpenMPDeclareSimdDirective()
DSemaDecl.cpp7927 if (FunctionTemplateDecl *FTD = NewFD->getDescribedFunctionTemplate()) in ActOnFunctionDeclarator() local
7928 FTD->setConcept(); in ActOnFunctionDeclarator()
/external/clang/lib/Frontend/
DASTConsumers.cpp453 FunctionTemplateDecl* FTD = cast<FunctionTemplateDecl>(I); in PrintDeclContext() local
454 Out << "<function template> " << *FTD << '\n'; in PrintDeclContext()
/external/clang/tools/libclang/
DCXType.cpp176 if (const FunctionTemplateDecl *FTD = dyn_cast<FunctionTemplateDecl>(D)) in clang_getCursorType() local
177 return MakeCXType(FTD->getTemplatedDecl()->getType(), TU); in clang_getCursorType()