[libcxx-commits] [libcxx] [libc++] Removes Clang-16 support. (PR #87810)
via libcxx-commits
libcxx-commits at lists.llvm.org
Tue Apr 9 11:23:04 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 59e66c515a475bc53db011f3ccca0d2831314443 c03a96a719f1c7e2203f1a38f0e264c6efa32fb8 -- libcxx/include/__algorithm/simd_utils.h libcxx/include/__config libcxx/test/libcxx/gdb/gdb_pretty_printer_test.sh.cpp libcxx/test/std/ranges/range.utility/range.utility.conv/to_deduction.pass.cpp libcxx/test/std/utilities/format/format.arguments/format.arg/visit.pass.cpp libcxx/test/std/utilities/format/format.arguments/format.arg/visit.return_type.pass.cpp libcxx/test/std/utilities/format/format.arguments/format.arg/visit_format_arg.deprecated.verify.cpp libcxx/test/std/utilities/variant/variant.visit.member/robust_against_adl.pass.cpp libcxx/test/std/utilities/variant/variant.visit.member/visit.pass.cpp libcxx/test/std/utilities/variant/variant.visit.member/visit_return_type.pass.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/libcxx/include/__algorithm/simd_utils.h b/libcxx/include/__algorithm/simd_utils.h
index 86c62bf7b1..c18aeb73eb 100644
--- a/libcxx/include/__algorithm/simd_utils.h
+++ b/libcxx/include/__algorithm/simd_utils.h
@@ -27,7 +27,7 @@ _LIBCPP_PUSH_MACROS
#include <__undef_macros>
// TODO: Find out how altivec changes things and allow vectorizations there too.
-#if _LIBCPP_STD_VER >= 14 && defined(_LIBCPP_CLANG_VER) && && !defined(__ALTIVEC__)
+#if _LIBCPP_STD_VER >= 14 && defined(_LIBCPP_CLANG_VER) && &&!defined(__ALTIVEC__)
# define _LIBCPP_HAS_ALGORITHM_VECTOR_UTILS 1
#else
# define _LIBCPP_HAS_ALGORITHM_VECTOR_UTILS 0
``````````
</details>
https://github.com/llvm/llvm-project/pull/87810
More information about the libcxx-commits
mailing list