[libcxx-commits] [libcxx] Fix bug in atomic_ref's calculation of lock_free-ness. (PR #93427)

Damien L-G via libcxx-commits libcxx-commits at lists.llvm.org
Fri May 31 07:06:44 PDT 2024


================
@@ -64,6 +159,17 @@ struct LargeUserAtomicType {
   }
 };
 
+template <template <class TestArg> class TestFunctor>
+struct TestEachLockFreeKnownIntegralType {
+  void operator()() const {
+    TestFunctor<char>()();
+    TestFunctor<short>()();
+    TestFunctor<int>()();
+    TestFunctor<long long>()();
+    TestFunctor<void*>()();
+  }
+};
+
----------------
dalg24 wrote:

Not actually used.  Is that an oversight?

https://github.com/llvm/llvm-project/pull/93427


More information about the libcxx-commits mailing list