~ubuntu-branches/ubuntu/vivid/emscripten/vivid

« back to all changes in this revision

Viewing changes to system/include/libcxx/atomic

  • Committer: Package Import Robot
  • Author(s): Sylvestre Ledru
  • Date: 2013-09-20 22:44:35 UTC
  • mfrom: (4.1.1 sid)
  • Revision ID: package-import@ubuntu.com-20130920224435-apuwj4fsl3fqv1a6
Tags: 1.5.6~20130920~6010666-1
* New snapshot release
* Update the list of supported architectures to the same as libv8
  (Closes: #723129)
* emlibtool has been removed from upstream.
* Fix warning syntax-error-in-dep5-copyright
* Refresh of the patches

Show diffs side-by-side

added added

removed removed

Lines of Context:
622
622
        {return __c11_atomic_compare_exchange_strong(&__a_, &__e, __d, __m, __m);}
623
623
 
624
624
    _LIBCPP_INLINE_VISIBILITY
625
 
    __atomic_base() _NOEXCEPT {} // = default;
 
625
#ifndef _LIBCPP_HAS_NO_DEFAULTED_FUNCTIONS
 
626
    __atomic_base() _NOEXCEPT = default;
 
627
#else
 
628
    __atomic_base() _NOEXCEPT : __a_() {}
 
629
#endif // _LIBCPP_HAS_NO_DEFAULTED_FUNCTIONS
 
630
 
626
631
    _LIBCPP_INLINE_VISIBILITY
627
632
    _LIBCPP_CONSTEXPR __atomic_base(_Tp __d) _NOEXCEPT : __a_(__d) {}
628
633
#ifndef _LIBCPP_HAS_NO_DELETED_FUNCTIONS
645
650
{
646
651
    typedef __atomic_base<_Tp, false> __base;
647
652
    _LIBCPP_INLINE_VISIBILITY
648
 
    __atomic_base() _NOEXCEPT {} // = default;
 
653
    __atomic_base() _NOEXCEPT _LIBCPP_DEFAULT
649
654
    _LIBCPP_INLINE_VISIBILITY
650
655
    _LIBCPP_CONSTEXPR __atomic_base(_Tp __d) _NOEXCEPT : __base(__d) {}
651
656
 
726
731
{
727
732
    typedef __atomic_base<_Tp> __base;
728
733
    _LIBCPP_INLINE_VISIBILITY
729
 
    atomic() _NOEXCEPT {} // = default;
 
734
    atomic() _NOEXCEPT _LIBCPP_DEFAULT
730
735
    _LIBCPP_INLINE_VISIBILITY
731
736
    _LIBCPP_CONSTEXPR atomic(_Tp __d) _NOEXCEPT : __base(__d) {}
732
737
 
746
751
{
747
752
    typedef __atomic_base<_Tp*> __base;
748
753
    _LIBCPP_INLINE_VISIBILITY
749
 
    atomic() _NOEXCEPT {} // = default;
 
754
    atomic() _NOEXCEPT _LIBCPP_DEFAULT
750
755
    _LIBCPP_INLINE_VISIBILITY
751
756
    _LIBCPP_CONSTEXPR atomic(_Tp* __d) _NOEXCEPT : __base(__d) {}
752
757
 
1367
1372
        {__c11_atomic_store(&__a_, false, __m);}
1368
1373
 
1369
1374
    _LIBCPP_INLINE_VISIBILITY
1370
 
    atomic_flag() _NOEXCEPT {} // = default;
 
1375
#ifndef _LIBCPP_HAS_NO_DEFAULTED_FUNCTIONS
 
1376
    atomic_flag() _NOEXCEPT = default;
 
1377
#else
 
1378
    atomic_flag() _NOEXCEPT : __a_() {}
 
1379
#endif // _LIBCPP_HAS_NO_DEFAULTED_FUNCTIONS
 
1380
 
1371
1381
    _LIBCPP_INLINE_VISIBILITY
1372
1382
    atomic_flag(bool __b) _NOEXCEPT : __a_(__b) {}
1373
1383