Skip to content

Commit 984693d

Browse files
format
1 parent 995f36d commit 984693d

File tree

6 files changed

+11
-10
lines changed

6 files changed

+11
-10
lines changed

libc/include/llvm-libc-macros/stdbit-macros.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -70,12 +70,12 @@ inline unsigned stdc_trailing_zeros(unsigned long long x) {
7070
unsigned: stdc_leading_ones_ui, \
7171
unsigned long: stdc_leading_ones_ul, \
7272
unsigned long long: stdc_leading_ones_ull)(x)
73-
#define stdc_trailing_zeros(x) \
73+
#define stdc_trailing_zeros(x) \
7474
_Generic((x), \
75-
unsigned char: stdc_trailing_zeros_uc, \
76-
unsigned short: stdc_trailing_zeros_us, \
77-
unsigned: stdc_trailing_zeros_ui, \
78-
unsigned long: stdc_trailing_zeros_ul, \
75+
unsigned char: stdc_trailing_zeros_uc, \
76+
unsigned short: stdc_trailing_zeros_us, \
77+
unsigned: stdc_trailing_zeros_ui, \
78+
unsigned long: stdc_trailing_zeros_ul, \
7979
unsigned long long: stdc_trailing_zeros_ull)(x)
8080
#endif // __cplusplus
8181

libc/src/stdbit/stdc_trailing_zeros_ull.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313

1414
namespace LIBC_NAMESPACE {
1515

16-
LLVM_LIBC_FUNCTION(unsigned, stdc_trailing_zeros_ull, (unsigned long long value)) {
16+
LLVM_LIBC_FUNCTION(unsigned, stdc_trailing_zeros_ull,
17+
(unsigned long long value)) {
1718
return static_cast<unsigned>(cpp::countr_zero(value));
1819
}
1920

libc/test/src/stdbit/stdc_trailing_zeros_uc_test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//===-- Unittests for stdc_trailing_zeros_uc --------------------------------===//
1+
//===-- Unittests for stdc_trailing_zeros_uc ------------------------------===//
22
//
33
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
44
// See https://llvm.org/LICENSE.txt for license information.

libc/test/src/stdbit/stdc_trailing_zeros_ui_test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//===-- Unittests for stdc_trailing_zeros_ui --------------------------------===//
1+
//===-- Unittests for stdc_trailing_zeros_ui ------------------------------===//
22
//
33
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
44
// See https://llvm.org/LICENSE.txt for license information.

libc/test/src/stdbit/stdc_trailing_zeros_ul_test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//===-- Unittests for stdc_trailing_zeros_ul --------------------------------===//
1+
//===-- Unittests for stdc_trailing_zeros_ul ------------------------------===//
22
//
33
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
44
// See https://llvm.org/LICENSE.txt for license information.

libc/test/src/stdbit/stdc_trailing_zeros_us_test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//===-- Unittests for stdc_trailing_zeros_us --------------------------------===//
1+
//===-- Unittests for stdc_trailing_zeros_us ------------------------------===//
22
//
33
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
44
// See https://llvm.org/LICENSE.txt for license information.

0 commit comments

Comments
 (0)