diff options
author | Chris Lattner <sabre@nondot.org> | 2011-02-17 19:37:28 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2011-02-17 19:37:28 +0000 |
commit | 4d4f0db3b6bf73162e75541547e900e4248d49ef (patch) | |
tree | cb7f0e109c2fad584053aa476cbc22f19d431a42 | |
parent | 91a230a15f2aca8f6a8b7fd492525ec372a98e6b (diff) |
remove some dead overloads.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@125768 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/clang/Sema/Template.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/include/clang/Sema/Template.h b/include/clang/Sema/Template.h index abdec2b8d5..7b9b4a1c0e 100644 --- a/include/clang/Sema/Template.h +++ b/include/clang/Sema/Template.h @@ -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); |