[libcxx-commits] [libcxx] [libc++] cv-qualified types in atomic and atomic_ref (P3323R1) (PR #121414)

via libcxx-commits libcxx-commits at lists.llvm.org
Tue Dec 31 13:13:15 PST 2024


github-actions[bot] wrote:

<!--LLVM CODE FORMAT COMMENT: {clang-format}-->


:warning: C/C++ code formatter, clang-format found issues in your code. :warning:

<details>
<summary>
You can test this locally with the following command:
</summary>

``````````bash
git-clang-format --diff d1e5e6735a845f1281f11389da1e5a55a0d2e87a 9c6dd660ebeb1014ba1fe6eefcd32c08cbe9f08b --extensions h,cpp -- libcxx/test/std/atomics/atomics.types.generic/cv_unqualified.verify.cpp libcxx/include/__atomic/atomic_ref.h libcxx/include/__atomic/support.h libcxx/include/__cxx03/__atomic/cxx_atomic_impl.h libcxx/test/std/atomics/atomics.ref/assign.pass.cpp libcxx/test/std/atomics/atomics.ref/convert.pass.cpp libcxx/test/std/atomics/atomics.ref/deduction.pass.cpp libcxx/test/std/atomics/atomics.ref/load.pass.cpp libcxx/test/std/atomics/atomics.ref/store.pass.cpp libcxx/test/std/atomics/atomics.ref/test_helper.h
``````````

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/libcxx/test/std/atomics/atomics.types.generic/cv_unqualified.verify.cpp b/libcxx/test/std/atomics/atomics.types.generic/cv_unqualified.verify.cpp
index c13c246cfd..ddc9ae2c6e 100644
--- a/libcxx/test/std/atomics/atomics.types.generic/cv_unqualified.verify.cpp
+++ b/libcxx/test/std/atomics/atomics.types.generic/cv_unqualified.verify.cpp
@@ -22,4 +22,3 @@
 void f() {
   std::atomic<const int> a; // expected-error@*:* {{std::atomic<T> requires that 'T' be a cv-unqualified type}}
 }
-

``````````

</details>


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


More information about the libcxx-commits mailing list