]> granicus.if.org Git - clang/commitdiff
remove some dead overloads.
authorChris Lattner <sabre@nondot.org>
Thu, 17 Feb 2011 19:37:28 +0000 (19:37 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 17 Feb 2011 19:37:28 +0000 (19:37 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@125768 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Sema/Template.h

index abdec2b8d578a008693b3a12bbe142fa75ff415e..7b9b4a1c0e8a960733644e465b368073778035b6 100644 (file)
@@ -278,19 +278,6 @@ namespace clang {
     /// returns NULL.
     llvm::PointerUnion<Decl *, DeclArgumentPack *> *
     findInstantiationOf(const Decl *D);
-                              
-    VarDecl *getInstantiationOf(const VarDecl *Var) {
-      return cast<VarDecl>(getInstantiationOf(cast<Decl>(Var)));
-    }
-
-    ParmVarDecl *getInstantiationOf(const ParmVarDecl *Var) {
-      return cast<ParmVarDecl>(getInstantiationOf(cast<Decl>(Var)));
-    }
-
-    NonTypeTemplateParmDecl *getInstantiationOf(
-                                          const NonTypeTemplateParmDecl *Var) {
-      return cast<NonTypeTemplateParmDecl>(getInstantiationOf(cast<Decl>(Var)));
-    }
 
     void InstantiatedLocal(const Decl *D, Decl *Inst);
     void InstantiatedLocalPackArg(const Decl *D, Decl *Inst);