[libcxx-commits] [libcxx] [libc++][TZDB] Implements zoned_time's operator==. (PR #95140)
via libcxx-commits
libcxx-commits at lists.llvm.org
Wed Jul 10 05:31:03 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 e77b295ada25e061c29db049d2a7a7bdb281c41b c2640df8e10eec183cf4972d1465cad4c5789c34 -- libcxx/test/std/time/time.zone/time.zone.zonedtime/time.zone.zonedtime.nonmembers/eq.pass.cpp libcxx/include/__chrono/zoned_time.h libcxx/include/chrono libcxx/test/std/numerics/bit/bitops.rot/rotl.pass.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/libcxx/test/std/numerics/bit/bitops.rot/rotl.pass.cpp b/libcxx/test/std/numerics/bit/bitops.rot/rotl.pass.cpp
index 6bbcb08014..396319331c 100644
--- a/libcxx/test/std/numerics/bit/bitops.rot/rotl.pass.cpp
+++ b/libcxx/test/std/numerics/bit/bitops.rot/rotl.pass.cpp
@@ -43,7 +43,7 @@ constexpr bool test()
assert(std::rotl(T(max - 1), 4) == T(max - 16));
assert(std::rotl(T(max - 1), 5) == T(max - 32));
assert(std::rotl(T(max - 1), 6) == T(max - 64));
-(void) std::rotl(T(max - 1), -2147483648);
+ (void)std::rotl(T(max - 1), -2147483648);
assert(std::rotl(T(max - 1), -1) == T(max - highbit));
assert(std::rotl(T(max - 1), -2) == T(max - (highbit >> 1)));
``````````
</details>
https://github.com/llvm/llvm-project/pull/95140
More information about the libcxx-commits
mailing list