[libcxx-commits] [libcxx] [libc++] Re-enable Clang-tidy checks in the CI (PR #110026)

via libcxx-commits libcxx-commits at lists.llvm.org
Fri Nov 29 12:07:05 PST 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 820403c4e04db1f4adc8528bec33d393a5be3856 191a05b548ed149f355642216bbcfe331845593b --extensions  -- libcxx/include/ccomplex libcxx/include/chrono libcxx/include/cstdalign libcxx/include/cstdbool
``````````

</details>

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

``````````diff
diff --git a/libcxx/include/ccomplex b/libcxx/include/ccomplex
index 252bab6aa0..d379c9e7f0 100644
--- a/libcxx/include/ccomplex
+++ b/libcxx/include/ccomplex
@@ -31,7 +31,7 @@ using __use_standard_header_ccomplex = __standard_header_ccomplex;
 #elif _LIBCPP_STD_VER >= 17
 
 using __standard_header_ccomplex _LIBCPP_DEPRECATED_("Include <complex> instead.") = void;
-using __use_standard_header_ccomplex = __standard_header_ccomplex;
+using __use_standard_header_ccomplex                                               = __standard_header_ccomplex;
 
 #endif
 
diff --git a/libcxx/include/cstdalign b/libcxx/include/cstdalign
index 29445f1258..e6a2a3c717 100644
--- a/libcxx/include/cstdalign
+++ b/libcxx/include/cstdalign
@@ -43,12 +43,12 @@ Macros:
 #if _LIBCPP_STD_VER >= 20
 
 using __standard_header_cstdalign _LIBCPP_DEPRECATED_("removed in C++20.") = void;
-using __use_standard_header_cstdalign = __standard_header_cstdalign;
+using __use_standard_header_cstdalign                                      = __standard_header_cstdalign;
 
 #elif _LIBCPP_STD_VER >= 17
 
 using __standard_header_cstdalign _LIBCPP_DEPRECATED = void;
-using __use_standard_header_cstdalign = __standard_header_cstdalign;
+using __use_standard_header_cstdalign                = __standard_header_cstdalign;
 
 #endif
 
diff --git a/libcxx/include/cstdbool b/libcxx/include/cstdbool
index 6e3191d8e3..1d627258e1 100644
--- a/libcxx/include/cstdbool
+++ b/libcxx/include/cstdbool
@@ -31,12 +31,12 @@ Macros:
 #if _LIBCPP_STD_VER >= 20
 
 using __standard_header_cstdbool _LIBCPP_DEPRECATED_("removed in C++20.") = void;
-using __use_standard_header_cstdbool = __standard_header_cstdbool;
+using __use_standard_header_cstdbool                                      = __standard_header_cstdbool;
 
 #elif _LIBCPP_STD_VER >= 17
 
 using __standard_header_cstdbool _LIBCPP_DEPRECATED = void;
-using __use_standard_header_cstdbool = __standard_header_cstdbool;
+using __use_standard_header_cstdbool                = __standard_header_cstdbool;
 
 #endif
 

``````````

</details>


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


More information about the libcxx-commits mailing list