[PATCH] D17951: Implement is_always_lock_free

Eric Fiselier via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 22 14:26:13 PDT 2016


EricWF added a comment.

Re-building clang now so I can test the most recent changes.


================
Comment at: include/atomic:850
@@ +849,3 @@
+#if defined(__cpp_lib_atomic_is_always_lock_free)
+  static _LIBCPP_CONSTEXPR bool is_always_lock_free = __atomic_always_lock_free(sizeof(__a_), 0);
+#endif
----------------
I think this needs a definition.



http://reviews.llvm.org/D17951





More information about the cfe-commits mailing list