[libcxx-commits] [libcxx] [libc++][NFC] Simplify features for detecting atomics' support. (PR #75553)

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Mon Dec 18 07:45:29 PST 2023


================
@@ -183,25 +183,26 @@ def _getAndroidDeviceApi(cfg):
         actions=[AddLinkFlag("-latomic")],
     ),
     Feature(
-        name="non-lockfree-atomics",
+        name="has-64-bit-atomics",
----------------
ldionne wrote:

I think the realization here is that the previous name `non-lockfree-atomics` was entirely wrong. In theory, if a system supported lockfree atomic operations for `sizeof(int)*100`, this feature would have a downright incorrect name.

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


More information about the libcxx-commits mailing list