[cfe-commits] r125768 - /cfe/trunk/include/clang/Sema/Template.h

Chris Lattner sabre at nondot.org
Thu Feb 17 11:37:28 PST 2011


Author: lattner
Date: Thu Feb 17 13:37:28 2011
New Revision: 125768

URL: http://llvm.org/viewvc/llvm-project?rev=125768&view=rev
Log:
remove some dead overloads.


Modified:
    cfe/trunk/include/clang/Sema/Template.h

Modified: cfe/trunk/include/clang/Sema/Template.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Sema/Template.h?rev=125768&r1=125767&r2=125768&view=diff
==============================================================================
--- cfe/trunk/include/clang/Sema/Template.h (original)
+++ cfe/trunk/include/clang/Sema/Template.h Thu Feb 17 13:37:28 2011
@@ -278,19 +278,6 @@
     /// 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);





More information about the cfe-commits mailing list