[libcxx-commits] [libcxx] [libc++] <experimental/simd> Add unary operators for class simd (PR #104764)

via libcxx-commits libcxx-commits at lists.llvm.org
Mon Sep 9 00:01:18 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 00def06c6e9a0582e85bef5f3a186839c48d1ae2 89a08947d6e0b6712624d04a1cd9f801a49af1ad --extensions cpp,h -- libcxx/test/std/experimental/simd/simd.class/simd_unary.pass.cpp libcxx/include/experimental/__simd/scalar.h libcxx/include/experimental/__simd/simd.h libcxx/include/experimental/__simd/simd_mask.h libcxx/include/experimental/__simd/vec_ext.h
``````````

</details>

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

``````````diff
diff --git a/libcxx/include/experimental/__simd/simd.h b/libcxx/include/experimental/__simd/simd.h
index b8e3d342a6..3657c29fe0 100644
--- a/libcxx/include/experimental/__simd/simd.h
+++ b/libcxx/include/experimental/__simd/simd.h
@@ -10,8 +10,8 @@
 #ifndef _LIBCPP_EXPERIMENTAL___SIMD_SIMD_H
 #define _LIBCPP_EXPERIMENTAL___SIMD_SIMD_H
 
-#include <__type_traits/is_same.h>
 #include <__type_traits/is_integral.h>
+#include <__type_traits/is_same.h>
 #include <__type_traits/remove_cvref.h>
 #include <__utility/forward.h>
 #include <cstddef>

``````````

</details>


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


More information about the libcxx-commits mailing list