jfb added inline comments.

================
Comment at: include/atomic:900
@@ +899,3 @@
+# if defined(_LIBCPP_LOCK_FREE_IS_SIZE_BASED)
+  static _LIBCPP_CONSTEXPR bool is_always_lock_free = 
__libcpp_always_lock_free<sizeof(_Tp)>;
+# else
----------------
Actually, this should be based on `sizeof(__a_)` and *not* `sizeof(_Tp)`.

http://reviews.llvm.org/D17951



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to