diff options
author | Eric Fiselier <eric@efcs.ca> | 2015-07-18 22:57:14 +0000 |
---|---|---|
committer | Eric Fiselier <eric@efcs.ca> | 2015-07-18 22:57:14 +0000 |
commit | 818139da5909af767e7579b819876e67149e9d9a (patch) | |
tree | 224dba1d6dd4110d1be8dd66fa56ea3dfbfc9fa5 | |
parent | 203f6879717553bf6d8d47338756db6d81d83ff9 (diff) | |
download | bcm5719-llvm-818139da5909af767e7579b819876e67149e9d9a.tar.gz bcm5719-llvm-818139da5909af767e7579b819876e67149e9d9a.zip |
Remove unused typedefs in random and regex
llvm-svn: 242628
-rw-r--r-- | libcxx/include/random | 5 | ||||
-rw-r--r-- | libcxx/include/regex | 1 |
2 files changed, 0 insertions, 6 deletions
diff --git a/libcxx/include/random b/libcxx/include/random index 64382a3d9aa..c8341efa442 100644 --- a/libcxx/include/random +++ b/libcxx/include/random @@ -6044,9 +6044,6 @@ basic_istream<_CharT, _Traits>& operator>>(basic_istream<_CharT, _Traits>& __is, discrete_distribution<_IT>& __x) { - typedef discrete_distribution<_IT> _Eng; - typedef typename _Eng::result_type result_type; - typedef typename _Eng::param_type param_type; __save_flags<_CharT, _Traits> __lx(__is); __is.flags(ios_base::dec | ios_base::skipws); size_t __n; @@ -6358,7 +6355,6 @@ operator>>(basic_istream<_CharT, _Traits>& __is, { typedef piecewise_constant_distribution<_RT> _Eng; typedef typename _Eng::result_type result_type; - typedef typename _Eng::param_type param_type; __save_flags<_CharT, _Traits> __lx(__is); __is.flags(ios_base::dec | ios_base::skipws); size_t __n; @@ -6698,7 +6694,6 @@ operator>>(basic_istream<_CharT, _Traits>& __is, { typedef piecewise_linear_distribution<_RT> _Eng; typedef typename _Eng::result_type result_type; - typedef typename _Eng::param_type param_type; __save_flags<_CharT, _Traits> __lx(__is); __is.flags(ios_base::dec | ios_base::skipws); size_t __n; diff --git a/libcxx/include/regex b/libcxx/include/regex index bd48fb8da04..f8e57f42c83 100644 --- a/libcxx/include/regex +++ b/libcxx/include/regex @@ -4065,7 +4065,6 @@ basic_regex<_CharT, _Traits>::__parse_collating_symbol(_ForwardIterator __first, throw regex_error(regex_constants::error_brack); #endif // _LIBCPP_NO_EXCEPTIONS // [__first, __temp) contains all text in [. ... .] - typedef typename _Traits::string_type string_type; __col_sym = __traits_.lookup_collatename(__first, __temp); switch (__col_sym.size()) { |