Deleted Added
full compact
atomic (234959) atomic (241900)
1// -*- C++ -*-
2//===--------------------------- atomic -----------------------------------===//
3//
4// The LLVM Compiler Infrastructure
5//
6// This file is distributed under the University of Illinois Open Source
7// License. See LICENSE.TXT for details.
8//

--- 541 unchanged lines hidden (view full) ---

550 return __y;
551}
552
553// general atomic<T>
554
555template <class _Tp, bool = is_integral<_Tp>::value && !is_same<_Tp, bool>::value>
556struct __atomic_base // false
557{
1// -*- C++ -*-
2//===--------------------------- atomic -----------------------------------===//
3//
4// The LLVM Compiler Infrastructure
5//
6// This file is distributed under the University of Illinois Open Source
7// License. See LICENSE.TXT for details.
8//

--- 541 unchanged lines hidden (view full) ---

550 return __y;
551}
552
553// general atomic<T>
554
555template <class _Tp, bool = is_integral<_Tp>::value && !is_same<_Tp, bool>::value>
556struct __atomic_base // false
557{
558 _Atomic(_Tp) __a_;
558 mutable _Atomic(_Tp) __a_;
559
560 _LIBCPP_INLINE_VISIBILITY
561 bool is_lock_free() const volatile _NOEXCEPT
562 {return __c11_atomic_is_lock_free(sizeof(_Tp));}
563 _LIBCPP_INLINE_VISIBILITY
564 bool is_lock_free() const _NOEXCEPT
565 {return __c11_atomic_is_lock_free(sizeof(_Tp));}
566 _LIBCPP_INLINE_VISIBILITY

--- 949 unchanged lines hidden ---
559
560 _LIBCPP_INLINE_VISIBILITY
561 bool is_lock_free() const volatile _NOEXCEPT
562 {return __c11_atomic_is_lock_free(sizeof(_Tp));}
563 _LIBCPP_INLINE_VISIBILITY
564 bool is_lock_free() const _NOEXCEPT
565 {return __c11_atomic_is_lock_free(sizeof(_Tp));}
566 _LIBCPP_INLINE_VISIBILITY

--- 949 unchanged lines hidden ---