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 origin/main HEAD --extensions h,cpp,c --
clang/test/CodeGen/arm64-abi-sve.c clang/lib/Sema/SemaType.cpp
clang/lib/Sema/TreeTransform.h clang/test/CodeGen/64bit-swiftcall.c
clang/test/CodeGen/builtin_vectorelements.c libc/src/__support/CPP/simd.h
libc/test/src/__support/CPP/simd_test.cpp --diff_from_common_commit
``````````
:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/libc/src/__support/CPP/simd.h b/libc/src/__support/CPP/simd.h
index 6a5fb73fa..3eb8779fc 100644
--- a/libc/src/__support/CPP/simd.h
+++ b/libc/src/__support/CPP/simd.h
@@ -73,8 +73,8 @@ template <typename T, auto N>
struct is_simd<simd<T, N>> : cpp::integral_constant<bool, true> {};
template <class T> constexpr bool is_simd_v = is_simd<T>::value;
-template <auto N> constexpr bool is_scalable_size_v =
- static_cast<signed>(N) < 0;
+template <auto N>
+constexpr bool is_scalable_size_v = static_cast<signed>(N) < 0;
template <typename T>
struct is_simd_mask : cpp::integral_constant<bool, false> {};
@@ -166,7 +166,7 @@ using enable_if_scalable_size_t =
cpp::enable_if_t<is_scalable_size_v<N>, bool>;
template <auto N>
using enable_if_not_scalable_size_t =
- cpp::enable_if_t<!is_scalable_size_v<N>, bool>;
+ cpp::enable_if_t<!is_scalable_size_v<N>, bool>;
} // namespace internal
``````````
</details>
https://github.com/llvm/llvm-project/pull/183307
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits