Skip to content

Conversation

@ldionne
Copy link
Member

@ldionne ldionne commented Oct 21, 2024

No description provided.

@ldionne ldionne requested a review from a team as a code owner October 21, 2024 14:22
@llvmbot llvmbot added the libc++ libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi. label Oct 21, 2024
@llvmbot
Copy link
Member

llvmbot commented Oct 21, 2024

@llvm/pr-subscribers-libcxx

Author: Louis Dionne (ldionne)

Changes

Full diff: https://github.com/llvm/llvm-project/pull/113169.diff

1 Files Affected:

  • (modified) libcxx/test/std/atomics/atomics.lockfree/is_always_lock_free.pass.cpp (+1-1)
diff --git a/libcxx/test/std/atomics/atomics.lockfree/is_always_lock_free.pass.cpp b/libcxx/test/std/atomics/atomics.lockfree/is_always_lock_free.pass.cpp
index e922bc7413514a..9fc90b34271213 100644
--- a/libcxx/test/std/atomics/atomics.lockfree/is_always_lock_free.pass.cpp
+++ b/libcxx/test/std/atomics/atomics.lockfree/is_always_lock_free.pass.cpp
@@ -52,7 +52,7 @@ void check_always_lock_free(std::atomic<T> const& a) {
   // In all cases, also sanity-check it based on the implication always-lock-free => lock-free.
   if (is_always_lock_free) {
     auto is_lock_free = a.is_lock_free();
-    ASSERT_SAME_TYPE(decltype(is_always_lock_free), bool const);
+    ASSERT_SAME_TYPE(decltype(is_lock_free), bool const);
     assert(is_lock_free);
   }
   ASSERT_NOEXCEPT(a.is_lock_free());

@ldionne ldionne merged commit c623df3 into llvm:main Oct 22, 2024
62 checks passed
@ldionne ldionne deleted the review/fix-typo-is-always-lock-free branch October 22, 2024 13:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

libc++ libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants