Remove dead code.
authorEli Friedman <eli.friedman@gmail.com>
Wed, 19 Jun 2013 22:49:39 +0000 (22:49 +0000)
committerEli Friedman <eli.friedman@gmail.com>
Wed, 19 Jun 2013 22:49:39 +0000 (22:49 +0000)
llvm-svn: 184379

clang/include/clang/Sema/Sema.h
clang/lib/Sema/SemaCXXScopeSpec.cpp

index f67e95c393bfea30e555b53052bf33bdc8a1b816..4f6725f9afc8f295ec2801bd9d258692eb370713 100644 (file)
@@ -4180,7 +4180,6 @@ public:
                                   bool EnteringContext = false);
   bool isDependentScopeSpecifier(const CXXScopeSpec &SS);
   CXXRecordDecl *getCurrentInstantiationOf(NestedNameSpecifier *NNS);
-  bool isUnknownSpecialization(const CXXScopeSpec &SS);
 
   /// \brief The parser has parsed a global nested-name-specifier '::'.
   ///
index 01ac8f7fb62d7ecfaf5f3a96e472d61bd46b1222..de68e2e1e46ec413d4f9ec3b49bde2c002781121 100644 (file)
@@ -160,16 +160,6 @@ bool Sema::isDependentScopeSpecifier(const CXXScopeSpec &SS) {
   return SS.getScopeRep()->isDependent();
 }
 
-// \brief Determine whether this C++ scope specifier refers to an
-// unknown specialization, i.e., a dependent type that is not the
-// current instantiation.
-bool Sema::isUnknownSpecialization(const CXXScopeSpec &SS) {
-  if (!isDependentScopeSpecifier(SS))
-    return false;
-
-  return getCurrentInstantiationOf(SS.getScopeRep()) == 0;
-}
-
 /// \brief If the given nested name specifier refers to the current
 /// instantiation, return the declaration that corresponds to that
 /// current instantiation (C++0x [temp.dep.type]p1).