[libcxx-commits] [libcxx] [libc++][type_traits] P2647R1: A trait for implicit lifetime types (PR #106870)

via libcxx-commits libcxx-commits at lists.llvm.org
Sat Aug 31 13:28:35 PDT 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 ec588175370a32dd40df86dc4672e65926817f25 f5aaf8c8955bfb2967ca7c616389dcf546fbdf10 --extensions ,h,cpp -- libcxx/include/__type_traits/is_implicit_lifetime.h libcxx/test/std/utilities/meta/meta.unary/meta.unary.prop/is_implicit_lifetime.pass.cpp libcxx/test/std/utilities/meta/meta.unary/meta.unary.prop/is_implicit_lifetime.verify.cpp libcxx/include/type_traits
``````````

</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/is_implicit_lifetime.pass.cpp b/libcxx/test/std/utilities/meta/meta.unary/meta.unary.prop/is_implicit_lifetime.pass.cpp
index 61b1aab99b..2b98b724e6 100644
--- a/libcxx/test/std/utilities/meta/meta.unary/meta.unary.prop/is_implicit_lifetime.pass.cpp
+++ b/libcxx/test/std/utilities/meta/meta.unary/meta.unary.prop/is_implicit_lifetime.pass.cpp
@@ -107,7 +107,7 @@ struct StructWithZeroSizedArray {
 
 #ifdef TEST_COMPILER_CLANG
 using AlignValueInt = int* __attribute__((align_value(16)));
-using Float4 = float __attribute__((ext_vector_type(4)));
+using Float4        = float __attribute__((ext_vector_type(4)));
 
 struct [[clang::enforce_read_only_placement]] EnforceReadOnlyPlacement {};
 struct [[clang::type_visibility("hidden")]] TypeVisibility {};

``````````

</details>


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


More information about the libcxx-commits mailing list