diff options
author | redi <redi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-04-15 18:28:57 +0000 |
---|---|---|
committer | redi <redi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-04-15 18:28:57 +0000 |
commit | b2b0c8e5a3a516b91d3ae7344d1f05f4df0a1c6b (patch) | |
tree | 70ff5f7eb96127a7f4aae59d8a9a0dfa39674318 /libstdc++-v3 | |
parent | 9e30282565f7efe1f061503b28eacf8cb0f51bc7 (diff) | |
download | gcc-b2b0c8e5a3a516b91d3ae7344d1f05f4df0a1c6b.tar.gz |
* include/std/atomic: Uglify parameter names.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209429 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3')
-rw-r--r-- | libstdc++-v3/ChangeLog | 2 | ||||
-rw-r--r-- | libstdc++-v3/include/std/atomic | 32 |
2 files changed, 18 insertions, 16 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 5f1610859aa..a9545ff1271 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -20,6 +20,8 @@ * include/bits/shared_ptr_base.h (__shared_ptr::__shared_ptr(nullptr_t)): Likewise + * include/std/atomic: Uglify parameter names. + 2014-04-14 Jonathan Wakely <jwakely@redhat.com> * include/bits/stl_vector.h (_Vector_base::_Vector_impl, diff --git a/libstdc++-v3/include/std/atomic b/libstdc++-v3/include/std/atomic index 1b8e4455af0..be7d0be051a 100644 --- a/libstdc++-v3/include/std/atomic +++ b/libstdc++-v3/include/std/atomic @@ -200,43 +200,43 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION { return __atomic_is_lock_free(sizeof(_M_i), nullptr); } void - store(_Tp __i, memory_order _m = memory_order_seq_cst) noexcept - { __atomic_store(&_M_i, &__i, _m); } + store(_Tp __i, memory_order __m = memory_order_seq_cst) noexcept + { __atomic_store(&_M_i, &__i, __m); } void - store(_Tp __i, memory_order _m = memory_order_seq_cst) volatile noexcept - { __atomic_store(&_M_i, &__i, _m); } + store(_Tp __i, memory_order __m = memory_order_seq_cst) volatile noexcept + { __atomic_store(&_M_i, &__i, __m); } _Tp - load(memory_order _m = memory_order_seq_cst) const noexcept + load(memory_order __m = memory_order_seq_cst) const noexcept { _Tp tmp; - __atomic_load(&_M_i, &tmp, _m); + __atomic_load(&_M_i, &tmp, __m); return tmp; } _Tp - load(memory_order _m = memory_order_seq_cst) const volatile noexcept + load(memory_order __m = memory_order_seq_cst) const volatile noexcept { _Tp tmp; - __atomic_load(&_M_i, &tmp, _m); + __atomic_load(&_M_i, &tmp, __m); return tmp; } _Tp - exchange(_Tp __i, memory_order _m = memory_order_seq_cst) noexcept + exchange(_Tp __i, memory_order __m = memory_order_seq_cst) noexcept { _Tp tmp; - __atomic_exchange(&_M_i, &__i, &tmp, _m); + __atomic_exchange(&_M_i, &__i, &tmp, __m); return tmp; } _Tp exchange(_Tp __i, - memory_order _m = memory_order_seq_cst) volatile noexcept + memory_order __m = memory_order_seq_cst) volatile noexcept { _Tp tmp; - __atomic_exchange(&_M_i, &__i, &tmp, _m); + __atomic_exchange(&_M_i, &__i, &tmp, __m); return tmp; } @@ -244,14 +244,14 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION compare_exchange_weak(_Tp& __e, _Tp __i, memory_order __s, memory_order __f) noexcept { - return __atomic_compare_exchange(&_M_i, &__e, &__i, true, __s, __f); + return __atomic_compare_exchange(&_M_i, &__e, &__i, true, __s, __f); } bool compare_exchange_weak(_Tp& __e, _Tp __i, memory_order __s, memory_order __f) volatile noexcept { - return __atomic_compare_exchange(&_M_i, &__e, &__i, true, __s, __f); + return __atomic_compare_exchange(&_M_i, &__e, &__i, true, __s, __f); } bool @@ -270,14 +270,14 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION compare_exchange_strong(_Tp& __e, _Tp __i, memory_order __s, memory_order __f) noexcept { - return __atomic_compare_exchange(&_M_i, &__e, &__i, false, __s, __f); + return __atomic_compare_exchange(&_M_i, &__e, &__i, false, __s, __f); } bool compare_exchange_strong(_Tp& __e, _Tp __i, memory_order __s, memory_order __f) volatile noexcept { - return __atomic_compare_exchange(&_M_i, &__e, &__i, false, __s, __f); + return __atomic_compare_exchange(&_M_i, &__e, &__i, false, __s, __f); } bool |