diff options
author | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-04-18 22:02:19 +0000 |
---|---|---|
committer | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-04-18 22:02:19 +0000 |
commit | 567325e0db1bde765a0baecde3f942ad24c79112 (patch) | |
tree | 885f3095053fda74542e8236d86880dcd955c1fc /libstdc++-v3/src/debug.cc | |
parent | 55bc74a5bf0db74d5784e379e8a2525dc05ab870 (diff) | |
download | gcc-567325e0db1bde765a0baecde3f942ad24c79112.tar.gz |
* src/pool_allocator.cc (_M_get_free_list, _M_get_mutex): Mark throw ()
* src/mt_allocator.cc (_M_reclaim_block, _M_reclaim_block,
_M_destroy_thread_key): Mark throw ()
* debug.cc (_M_get_mutex, _M_attach_single, _M_detach_single,
_M_singular, _M_can_compare _M_get_mutex, _M_message,
_M_get_max_length): Mark throw ().
* include/debug/formatter.h (_M_message, _M_format_word,
_M_get_max_length): Mark throw ().
* include/debug/safe_base.h (_M_get_mutex, _M_attach_single,
_M_detach_single): Mark throw ().
(_M_singular, _M_can_compare, _M_get_mutex): Mark pure and throw ().
* include/ext/pool_allocator.h (_M_get_free_list): Mark const and
throw ()
(_M_get_mutex): Mark throw ().
* include/ext/mt_allocator.h (_M_reclaim_block): Mark throw ();
(_M_destroy_thread_key): Mark CONST and throw.
* include/bits/stl_list.h (swap, transfer, reverse, hook, unhook): Mark
throw ().
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@146330 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/src/debug.cc')
-rw-r--r-- | libstdc++-v3/src/debug.cc | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/libstdc++-v3/src/debug.cc b/libstdc++-v3/src/debug.cc index c1e4ddd4e46..6ce2e101f25 100644 --- a/libstdc++-v3/src/debug.cc +++ b/libstdc++-v3/src/debug.cc @@ -185,7 +185,7 @@ namespace __gnu_debug __gnu_cxx::__mutex& _Safe_sequence_base:: - _M_get_mutex() + _M_get_mutex() throw () { return get_safe_base_mutex(); } void @@ -198,7 +198,7 @@ namespace __gnu_debug void _Safe_iterator_base:: - _M_attach_single(_Safe_sequence_base* __seq, bool __constant) + _M_attach_single(_Safe_sequence_base* __seq, bool __constant) throw () { _M_detach_single(); @@ -235,7 +235,7 @@ namespace __gnu_debug void _Safe_iterator_base:: - _M_detach_single() + _M_detach_single() throw () { if (_M_sequence) { @@ -259,12 +259,12 @@ namespace __gnu_debug bool _Safe_iterator_base:: - _M_singular() const + _M_singular() const throw () { return !_M_sequence || _M_version != _M_sequence->_M_version; } bool _Safe_iterator_base:: - _M_can_compare(const _Safe_iterator_base& __x) const + _M_can_compare(const _Safe_iterator_base& __x) const throw () { return (!_M_singular() && !__x._M_singular() && _M_sequence == __x._M_sequence); @@ -272,7 +272,7 @@ namespace __gnu_debug __gnu_cxx::__mutex& _Safe_iterator_base:: - _M_get_mutex() + _M_get_mutex() throw () { return get_safe_base_mutex(); } void @@ -471,7 +471,7 @@ namespace __gnu_debug } const _Error_formatter& - _Error_formatter::_M_message(_Debug_msg_id __id) const + _Error_formatter::_M_message(_Debug_msg_id __id) const throw () { return this->_M_message(_S_debug_messages[__id]); } void @@ -531,7 +531,7 @@ namespace __gnu_debug void _Error_formatter::_M_format_word(char* __buf, int __n __attribute__ ((__unused__)), - const char* __fmt, _Tp __s) const + const char* __fmt, _Tp __s) const throw () { #ifdef _GLIBCXX_USE_C99 std::snprintf(__buf, __n, __fmt, __s); @@ -674,7 +674,7 @@ namespace __gnu_debug } void - _Error_formatter::_M_get_max_length() const + _Error_formatter::_M_get_max_length() const throw () { const char* __nptr = std::getenv("GLIBCXX_DEBUG_MESSAGE_LENGTH"); if (__nptr) |