[libcxx] r242628 - Remove unused typedefs in random and regex
Eric Fiselier
eric at efcs.ca
Sat Jul 18 15:57:15 PDT 2015
Author: ericwf
Date: Sat Jul 18 17:57:14 2015
New Revision: 242628
URL: http://llvm.org/viewvc/llvm-project?rev=242628&view=rev
Log:
Remove unused typedefs in random and regex
Modified:
libcxx/trunk/include/random
libcxx/trunk/include/regex
Modified: libcxx/trunk/include/random
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/random?rev=242628&r1=242627&r2=242628&view=diff
==============================================================================
--- libcxx/trunk/include/random (original)
+++ libcxx/trunk/include/random Sat Jul 18 17:57:14 2015
@@ -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
{
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
{
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;
Modified: libcxx/trunk/include/regex
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/regex?rev=242628&r1=242627&r2=242628&view=diff
==============================================================================
--- libcxx/trunk/include/regex (original)
+++ libcxx/trunk/include/regex Sat Jul 18 17:57:14 2015
@@ -4065,7 +4065,6 @@ basic_regex<_CharT, _Traits>::__parse_co
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())
{
More information about the cfe-commits
mailing list