[libcxx-commits] [libcxx] [libc++] Fix name of is_always_lock_free test which was never being run (PR #106077)
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Fri Sep 27 08:04:17 PDT 2024
https://github.com/ldionne updated https://github.com/llvm/llvm-project/pull/106077
>From 17e0d67de321987e88ec9a2a5ef7b979ccc9121f Mon Sep 17 00:00:00 2001
From: Louis Dionne <ldionne.2 at gmail.com>
Date: Mon, 26 Aug 2024 11:54:51 -0400
Subject: [PATCH] [libc++] Fix name of is_always_lock_free test which was never
being run
---
.../{is_always_lock_free.cpp => is_always_lock_free.pass.cpp} | 4 ++++
1 file changed, 4 insertions(+)
rename libcxx/test/std/atomics/atomics.lockfree/{is_always_lock_free.cpp => is_always_lock_free.pass.cpp} (98%)
diff --git a/libcxx/test/std/atomics/atomics.lockfree/is_always_lock_free.cpp b/libcxx/test/std/atomics/atomics.lockfree/is_always_lock_free.pass.cpp
similarity index 98%
rename from libcxx/test/std/atomics/atomics.lockfree/is_always_lock_free.cpp
rename to libcxx/test/std/atomics/atomics.lockfree/is_always_lock_free.pass.cpp
index db17221e515d3a..35812a704a1807 100644
--- a/libcxx/test/std/atomics/atomics.lockfree/is_always_lock_free.cpp
+++ b/libcxx/test/std/atomics/atomics.lockfree/is_always_lock_free.pass.cpp
@@ -15,6 +15,10 @@
//
// static constexpr bool is_always_lock_free;
+// Ignore diagnostic about vector types changing the ABI on some targets, since
+// that is irrelevant for this test.
+// ADDITIONAL_COMPILE_FLAGS: -Wno-psabi
+
#include <atomic>
#include <cassert>
#include <concepts>
More information about the libcxx-commits
mailing list