[libcxx-commits] [libcxx] [libc++][type_traits] Implements "A type trait to detect reference binding to temporary" (PR #128649)
via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Feb 24 23:50:29 PST 2025
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 823a597d2ad0a76e8d5278a789f37a07b393cd2a ac8ab489f964e918621a08a21bba35a4fbfbfe21 --extensions h,cpp,inc, -- libcxx/include/__type_traits/reference_constructs_from_temporary.h libcxx/include/__type_traits/reference_converts_from_temporary.h libcxx/test/std/utilities/meta/meta.unary/meta.unary.prop/reference_constructs_from_temporary.pass.cpp libcxx/test/std/utilities/meta/meta.unary/meta.unary.prop/reference_converts_from_temporary.pass.cpp libcxx/include/type_traits libcxx/modules/std/type_traits.inc
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/libcxx/test/std/utilities/meta/meta.unary/meta.unary.prop/reference_converts_from_temporary.pass.cpp b/libcxx/test/std/utilities/meta/meta.unary/meta.unary.prop/reference_converts_from_temporary.pass.cpp
index beb8184492..194f2e4d29 100644
--- a/libcxx/test/std/utilities/meta/meta.unary/meta.unary.prop/reference_converts_from_temporary.pass.cpp
+++ b/libcxx/test/std/utilities/meta/meta.unary/meta.unary.prop/reference_converts_from_temporary.pass.cpp
@@ -19,7 +19,6 @@
// constexpr bool reference_converts_from_temporary_v
// = reference_converts_from_temporary<T, U>::value;
-
#include <cassert>
#include <type_traits>
``````````
</details>
https://github.com/llvm/llvm-project/pull/128649
More information about the libcxx-commits
mailing list