Lines Matching defs:FunctionTemplateDecl

49 class FunctionTemplateDecl;
482 llvm::PointerIntPair<FunctionTemplateDecl *, 2> Template;
499 FunctionDecl *FD, FunctionTemplateDecl *Template,
519 Create(ASTContext &C, FunctionDecl *FD, FunctionTemplateDecl *Template,
529 FunctionTemplateDecl *getTemplate() const { return Template.getPointer(); }
689 FunctionTemplateDecl *> {
702 size_t numTrailingObjects(OverloadToken<FunctionTemplateDecl *>) const {
722 FunctionTemplateDecl *getTemplate(unsigned I) const {
724 return getTrailingObjects<FunctionTemplateDecl *>()[I];
918 /// \c X<int>::f is a FunctionTemplateDecl that describes the function
926 /// getInstantiatedFromMemberTemplate() on this FunctionTemplateDecl will
927 /// retrieve the FunctionTemplateDecl for the original template \c f within
977 class FunctionTemplateDecl : public RedeclarableTemplateDecl {
1000 FunctionTemplateDecl(ASTContext &C, DeclContext *DC, SourceLocation L,
1047 FunctionTemplateDecl *getCanonicalDecl() override {
1048 return cast<FunctionTemplateDecl>(
1051 const FunctionTemplateDecl *getCanonicalDecl() const {
1052 return cast<FunctionTemplateDecl>(
1058 FunctionTemplateDecl *getPreviousDecl() {
1059 return cast_or_null<FunctionTemplateDecl>(
1062 const FunctionTemplateDecl *getPreviousDecl() const {
1063 return cast_or_null<FunctionTemplateDecl>(
1067 FunctionTemplateDecl *getMostRecentDecl() {
1068 return cast<FunctionTemplateDecl>(
1072 const FunctionTemplateDecl *getMostRecentDecl() const {
1073 return const_cast<FunctionTemplateDecl*>(this)->getMostRecentDecl();
1076 FunctionTemplateDecl *getInstantiatedFromMemberTemplate() const {
1077 return cast_or_null<FunctionTemplateDecl>(
1117 void mergePrevDecl(FunctionTemplateDecl *Prev);
1120 static FunctionTemplateDecl *Create(ASTContext &C, DeclContext *DC,
1127 static FunctionTemplateDecl *CreateDeserialized(ASTContext &C, unsigned ID);