aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2011-02-17 19:37:28 +0000
committerChris Lattner <sabre@nondot.org>2011-02-17 19:37:28 +0000
commit4d4f0db3b6bf73162e75541547e900e4248d49ef (patch)
treecb7f0e109c2fad584053aa476cbc22f19d431a42
parent91a230a15f2aca8f6a8b7fd492525ec372a98e6b (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.h13
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);