new (bad_array_new_length): Remove redundant semicolon after in-class member function definition.
* libsupc++/new (bad_array_new_length): Remove redundant semicolon after in-class member function definition. * include/bits/locale_facets.h (ctype_byname, num_put): Likewise. * include/bits/locale_facets_nonio.h (time_put_byname): Likewise. * include/bits/random.h (mersenne_twister_engine): Likewise. * include/tr1/random.h (mersenne_twister): Likewise * include/ext/random (simd_fast_mersenne_twister_engine): Likewise. * include/ext/rope (char_producer, _Rope_char_consumer, _Rope_self_destruct_ptr, _Rope_const_iterator, _Rope_iterator): Likewise. * include/ext/ropeimpl.h (_Rope_flatten_char_consumer, _Rope_insert_char_consumer): Likewise. From-SVN: r250357
This commit is contained in:
parent
77011afe7f
commit
57c51668ee
|
@ -1,3 +1,18 @@
|
||||||
|
2017-07-19 Volker Reichelt <v.reichelt@netcologne.de>
|
||||||
|
|
||||||
|
* libsupc++/new (bad_array_new_length): Remove redundant
|
||||||
|
semicolon after in-class member function definition.
|
||||||
|
* include/bits/locale_facets.h (ctype_byname, num_put): Likewise.
|
||||||
|
* include/bits/locale_facets_nonio.h (time_put_byname): Likewise.
|
||||||
|
* include/bits/random.h (mersenne_twister_engine): Likewise.
|
||||||
|
* include/tr1/random.h (mersenne_twister): Likewise
|
||||||
|
* include/ext/random (simd_fast_mersenne_twister_engine): Likewise.
|
||||||
|
* include/ext/rope (char_producer, _Rope_char_consumer,
|
||||||
|
_Rope_self_destruct_ptr, _Rope_const_iterator, _Rope_iterator):
|
||||||
|
Likewise.
|
||||||
|
* include/ext/ropeimpl.h (_Rope_flatten_char_consumer,
|
||||||
|
_Rope_insert_char_consumer): Likewise.
|
||||||
|
|
||||||
2017-07-19 Jonathan Wakely <jwakely@redhat.com>
|
2017-07-19 Jonathan Wakely <jwakely@redhat.com>
|
||||||
|
|
||||||
* include/bits/fstream.tcc (basic_filebuf::xsgetn)
|
* include/bits/fstream.tcc (basic_filebuf::xsgetn)
|
||||||
|
|
|
@ -1487,7 +1487,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
virtual
|
virtual
|
||||||
~ctype_byname() { };
|
~ctype_byname() { }
|
||||||
};
|
};
|
||||||
|
|
||||||
/// 22.2.1.4 Class ctype_byname specializations.
|
/// 22.2.1.4 Class ctype_byname specializations.
|
||||||
|
@ -2486,7 +2486,7 @@ _GLIBCXX_BEGIN_NAMESPACE_LDBL
|
||||||
|
|
||||||
/// Destructor.
|
/// Destructor.
|
||||||
virtual
|
virtual
|
||||||
~num_put() { };
|
~num_put() { }
|
||||||
|
|
||||||
//@{
|
//@{
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -898,7 +898,7 @@ _GLIBCXX_END_NAMESPACE_CXX11
|
||||||
explicit
|
explicit
|
||||||
time_put_byname(const char*, size_t __refs = 0)
|
time_put_byname(const char*, size_t __refs = 0)
|
||||||
: time_put<_CharT, _OutIter>(__refs)
|
: time_put<_CharT, _OutIter>(__refs)
|
||||||
{ };
|
{ }
|
||||||
|
|
||||||
#if __cplusplus >= 201103L
|
#if __cplusplus >= 201103L
|
||||||
explicit
|
explicit
|
||||||
|
|
|
@ -520,7 +520,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
|
||||||
*/
|
*/
|
||||||
static constexpr result_type
|
static constexpr result_type
|
||||||
min()
|
min()
|
||||||
{ return 0; };
|
{ return 0; }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Gets the largest possible value in the output range.
|
* @brief Gets the largest possible value in the output range.
|
||||||
|
|
|
@ -112,7 +112,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
|
||||||
|
|
||||||
static constexpr result_type
|
static constexpr result_type
|
||||||
min()
|
min()
|
||||||
{ return 0; };
|
{ return 0; }
|
||||||
|
|
||||||
static constexpr result_type
|
static constexpr result_type
|
||||||
max()
|
max()
|
||||||
|
|
|
@ -150,7 +150,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
|
||||||
class char_producer
|
class char_producer
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
virtual ~char_producer() { };
|
virtual ~char_producer() { }
|
||||||
|
|
||||||
virtual void
|
virtual void
|
||||||
operator()(size_t __start_pos, size_t __len,
|
operator()(size_t __start_pos, size_t __len,
|
||||||
|
@ -314,7 +314,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
|
||||||
// compile-time would do. Hence this should all be private
|
// compile-time would do. Hence this should all be private
|
||||||
// for now.
|
// for now.
|
||||||
// The symmetry with char_producer is accidental and temporary.
|
// The symmetry with char_producer is accidental and temporary.
|
||||||
virtual ~_Rope_char_consumer() { };
|
virtual ~_Rope_char_consumer() { }
|
||||||
|
|
||||||
virtual bool
|
virtual bool
|
||||||
operator()(const _CharT* __buffer, size_t __len) = 0;
|
operator()(const _CharT* __buffer, size_t __len) = 0;
|
||||||
|
@ -924,9 +924,9 @@ protected:
|
||||||
~_Rope_self_destruct_ptr()
|
~_Rope_self_destruct_ptr()
|
||||||
{ _Rope_RopeRep<_CharT, _Alloc>::_S_unref(_M_ptr); }
|
{ _Rope_RopeRep<_CharT, _Alloc>::_S_unref(_M_ptr); }
|
||||||
#if __cpp_exceptions
|
#if __cpp_exceptions
|
||||||
_Rope_self_destruct_ptr() : _M_ptr(0) { };
|
_Rope_self_destruct_ptr() : _M_ptr(0) { }
|
||||||
#else
|
#else
|
||||||
_Rope_self_destruct_ptr() { };
|
_Rope_self_destruct_ptr() { }
|
||||||
#endif
|
#endif
|
||||||
_Rope_self_destruct_ptr(_Rope_RopeRep<_CharT, _Alloc>* __p)
|
_Rope_self_destruct_ptr(_Rope_RopeRep<_CharT, _Alloc>* __p)
|
||||||
: _M_ptr(__p) { }
|
: _M_ptr(__p) { }
|
||||||
|
@ -1153,7 +1153,7 @@ protected:
|
||||||
typedef const _CharT* pointer;
|
typedef const _CharT* pointer;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
_Rope_const_iterator() { };
|
_Rope_const_iterator() { }
|
||||||
|
|
||||||
_Rope_const_iterator(const _Rope_const_iterator& __x)
|
_Rope_const_iterator(const _Rope_const_iterator& __x)
|
||||||
: _Rope_iterator_base<_CharT,_Alloc>(__x) { }
|
: _Rope_iterator_base<_CharT,_Alloc>(__x) { }
|
||||||
|
@ -1325,7 +1325,7 @@ protected:
|
||||||
_Rope_iterator()
|
_Rope_iterator()
|
||||||
{
|
{
|
||||||
this->_M_root = 0; // Needed for reference counting.
|
this->_M_root = 0; // Needed for reference counting.
|
||||||
};
|
}
|
||||||
|
|
||||||
_Rope_iterator(const _Rope_iterator& __x)
|
_Rope_iterator(const _Rope_iterator& __x)
|
||||||
: _Rope_iterator_base<_CharT, _Alloc>(__x)
|
: _Rope_iterator_base<_CharT, _Alloc>(__x)
|
||||||
|
|
|
@ -844,7 +844,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
|
||||||
public:
|
public:
|
||||||
|
|
||||||
_Rope_flatten_char_consumer(_CharT* __buffer)
|
_Rope_flatten_char_consumer(_CharT* __buffer)
|
||||||
{ _M_buf_ptr = __buffer; };
|
{ _M_buf_ptr = __buffer; }
|
||||||
|
|
||||||
~_Rope_flatten_char_consumer() {}
|
~_Rope_flatten_char_consumer() {}
|
||||||
|
|
||||||
|
@ -897,8 +897,8 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
|
||||||
_Insert_ostream& _M_o;
|
_Insert_ostream& _M_o;
|
||||||
public:
|
public:
|
||||||
_Rope_insert_char_consumer(_Insert_ostream& __writer)
|
_Rope_insert_char_consumer(_Insert_ostream& __writer)
|
||||||
: _M_o(__writer) {};
|
: _M_o(__writer) {}
|
||||||
~_Rope_insert_char_consumer() { };
|
~_Rope_insert_char_consumer() { }
|
||||||
// Caller is presumed to own the ostream
|
// Caller is presumed to own the ostream
|
||||||
bool operator() (const _CharT* __leaf, size_t __n);
|
bool operator() (const _CharT* __leaf, size_t __n);
|
||||||
// Returns true to continue traversal.
|
// Returns true to continue traversal.
|
||||||
|
|
|
@ -594,7 +594,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
|
||||||
|
|
||||||
result_type
|
result_type
|
||||||
min() const
|
min() const
|
||||||
{ return 0; };
|
{ return 0; }
|
||||||
|
|
||||||
result_type
|
result_type
|
||||||
max() const
|
max() const
|
||||||
|
|
|
@ -68,7 +68,7 @@ namespace std
|
||||||
class bad_array_new_length : public bad_alloc
|
class bad_array_new_length : public bad_alloc
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
bad_array_new_length() throw() { };
|
bad_array_new_length() throw() { }
|
||||||
|
|
||||||
// This declaration is not useless:
|
// This declaration is not useless:
|
||||||
// http://gcc.gnu.org/onlinedocs/gcc-3.0.2/gcc_6.html#SEC118
|
// http://gcc.gnu.org/onlinedocs/gcc-3.0.2/gcc_6.html#SEC118
|
||||||
|
|
Loading…
Reference in New Issue