From 59f573f670a4ff53919fcdfc2f40725723eb2c04 Mon Sep 17 00:00:00 2001 From: Marshall Clow Date: Wed, 18 Feb 2015 19:28:35 +0000 Subject: [PATCH] Remove several unused forward declarations. Fixes PR22605. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@229728 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/__hash_table | 2 -- include/__tree | 8 -------- include/iterator | 4 +--- 3 files changed, 1 insertion(+), 13 deletions(-) diff --git a/include/__hash_table b/include/__hash_table index 71cf5fbf0..71b12b36e 100644 --- a/include/__hash_table +++ b/include/__hash_table @@ -85,8 +85,6 @@ template class __hash_table template class _LIBCPP_TYPE_VIS_ONLY __hash_const_iterator; template class _LIBCPP_TYPE_VIS_ONLY __hash_map_iterator; template class _LIBCPP_TYPE_VIS_ONLY __hash_map_const_iterator; -template - class _LIBCPP_TYPE_VIS_ONLY unordered_map; template class _LIBCPP_TYPE_VIS_ONLY __hash_iterator diff --git a/include/__tree b/include/__tree index 401891b26..d768b3837 100644 --- a/include/__tree +++ b/include/__tree @@ -28,14 +28,6 @@ template class _LIBCPP_TYPE_VIS_ONLY __tree_iterator; template class _LIBCPP_TYPE_VIS_ONLY __tree_const_iterator; -template - class _LIBCPP_TYPE_VIS_ONLY map; -template - class _LIBCPP_TYPE_VIS_ONLY multimap; -template - class _LIBCPP_TYPE_VIS_ONLY set; -template - class _LIBCPP_TYPE_VIS_ONLY multiset; /* diff --git a/include/iterator b/include/iterator index 05d7412a4..04ff4c127 100644 --- a/include/iterator +++ b/include/iterator @@ -1112,8 +1112,6 @@ typename enable_if >::type __unwrap_iter(__wrap_iter<_Tp*>); -template class _LIBCPP_TYPE_VIS_ONLY vector; - template class __wrap_iter { @@ -1243,7 +1241,7 @@ private: template friend class __wrap_iter; template friend class basic_string; - template friend class vector; + template friend class _LIBCPP_TYPE_VIS_ONLY vector; template friend