Skip to content

Commit 9328649

Browse files
committed
🤖 Fix clang-format issues
Problem: - LLVM 21.1.3 changes some minor clang-format rules. Solution: - Reformat the affected code.
1 parent d1c55e3 commit 9328649

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

include/stdx/bit.hpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -438,8 +438,7 @@ template <std::size_t N> using smallest_uint_t = decltype(smallest_uint<N>());
438438

439439
namespace bit_detail {
440440
template <std::size_t... Offsets>
441-
constexpr auto shifts =
442-
[]() -> std::array<std::size_t, sizeof...(Offsets) + 1> {
441+
constexpr auto shifts = []()->std::array<std::size_t, sizeof...(Offsets) + 1> {
443442
constexpr auto offsets = std::array{std::size_t{}, Offsets...};
444443
auto s = std::array<std::size_t, sizeof...(Offsets) + 1>{};
445444
for (auto i = std::size_t{}; i < sizeof...(Offsets); ++i) {

include/stdx/tuple_algorithms.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ constexpr auto contains_type(
230230
template <tuplelike T, template <typename> typename Proj = std::type_identity_t>
231231
[[nodiscard]] constexpr auto sorted_indices() {
232232
return []<std::size_t... Is>(std::index_sequence<Is...>)
233-
-> std::array<std::size_t, sizeof...(Is)> {
233+
->std::array<std::size_t, sizeof...(Is)> {
234234
using P = std::pair<std::string_view, std::size_t>;
235235
auto a = std::array<P, sizeof...(Is)>{
236236
P{stdx::type_as_string<Proj<tuple_element_t<Is, T>>>(), Is}...};

0 commit comments

Comments
 (0)