]> granicus.if.org Git - clang/commitdiff
Removing some unused iterator methods for partial specializations.
authorAaron Ballman <aaron@aaronballman.com>
Fri, 14 Mar 2014 16:19:04 +0000 (16:19 +0000)
committerAaron Ballman <aaron@aaronballman.com>
Fri, 14 Mar 2014 16:19:04 +0000 (16:19 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@203941 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/AST/DeclTemplate.h

index ef7c63beb4cc642b1c08bde7f6abc2c357e382b2..60e73b6801d099b0f6ddf48fb7c89aee8cd9078f 100644 (file)
@@ -1988,17 +1988,6 @@ public:
     return makeSpecIterator(getSpecializations(), true);
   }
 
-  typedef SpecIterator<ClassTemplatePartialSpecializationDecl>
-          partial_spec_iterator;
-
-  partial_spec_iterator partial_spec_begin() {
-    return makeSpecIterator(getPartialSpecializations(), false);
-  }
-
-  partial_spec_iterator partial_spec_end() {
-    return makeSpecIterator(getPartialSpecializations(), true);
-  }
-
   // Implement isa/cast/dyncast support
   static bool classof(const Decl *D) { return classofKind(D->getKind()); }
   static bool classofKind(Kind K) { return K == ClassTemplate; }