[libcxx-commits] [libcxx] bc695f5 - [libc++][test] Add missing <concepts> in is_always_lock_free test (#105966)
via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Aug 26 08:49:51 PDT 2024
Author: Stephan T. Lavavej
Date: 2024-08-26T11:49:47-04:00
New Revision: bc695f522743e5408dbdfa77209106c235218654
URL: https://github.com/llvm/llvm-project/commit/bc695f522743e5408dbdfa77209106c235218654
DIFF: https://github.com/llvm/llvm-project/commit/bc695f522743e5408dbdfa77209106c235218654.diff
LOG: [libc++][test] Add missing <concepts> in is_always_lock_free test (#105966)
That test was using std::same_as without including <concepts>.
Added:
libcxx/test/std/atomics/atomics.lockfree/is_always_lock_free.pass.cpp
Modified:
Removed:
libcxx/test/std/atomics/atomics.lockfree/is_always_lock_free.cpp
################################################################################
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 99%
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 2dc7f5c7654193..db17221e515d3a 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
@@ -17,6 +17,7 @@
#include <atomic>
#include <cassert>
+#include <concepts>
#include <cstddef>
#include "test_macros.h"
More information about the libcxx-commits
mailing list