From ca9f3673c5f9d67c8fe013837f9712bae7406b4b Mon Sep 17 00:00:00 2001 From: Timothy Flynn Date: Sun, 11 May 2025 14:56:31 -0400 Subject: [PATCH] Everywhere: Run clang-format The following command was used to clang-format these files: clang-format-20 -i $(find . \ -not \( -path "./\.*" -prune \) \ -not \( -path "./Build/*" -prune \) \ -not \( -path "./Toolchain/*" -prune \) \ -type f -name "*.cpp" -o -name "*.mm" -o -name "*.h") --- AK/StdLibExtraDetails.h | 4 ++-- Libraries/LibTLS/TLSv12.h | 4 ++-- Libraries/LibWeb/ARIA/ARIAMixin.cpp | 3 ++- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/AK/StdLibExtraDetails.h b/AK/StdLibExtraDetails.h index 03e1adc4bc0..fa2bdcb7116 100644 --- a/AK/StdLibExtraDetails.h +++ b/AK/StdLibExtraDetails.h @@ -119,9 +119,9 @@ inline constexpr bool IsFunction = true; template inline constexpr bool IsFunction = true; template -inline constexpr bool IsFunction = true; +inline constexpr bool IsFunction = true; template -inline constexpr bool IsFunction = true; +inline constexpr bool IsFunction = true; template inline constexpr bool IsFunction = true; template diff --git a/Libraries/LibTLS/TLSv12.h b/Libraries/LibTLS/TLSv12.h index 24da33685b6..ade3e3df472 100644 --- a/Libraries/LibTLS/TLSv12.h +++ b/Libraries/LibTLS/TLSv12.h @@ -21,12 +21,12 @@ struct Options { return typ { __VA_ARGS__ }; \ } \ typ name = default_##name(); \ - Options& set_##name(typ new_value)& \ + Options& set_##name(typ new_value) & \ { \ name = move(new_value); \ return *this; \ } \ - Options&& set_##name(typ new_value)&& \ + Options&& set_##name(typ new_value) && \ { \ name = move(new_value); \ return move(*this); \ diff --git a/Libraries/LibWeb/ARIA/ARIAMixin.cpp b/Libraries/LibWeb/ARIA/ARIAMixin.cpp index 1bd04f4cdd7..db0559f40c4 100644 --- a/Libraries/LibWeb/ARIA/ARIAMixin.cpp +++ b/Libraries/LibWeb/ARIA/ARIAMixin.cpp @@ -15,7 +15,8 @@ namespace Web::ARIA { ARIAMixin::ARIAMixin() = default; ARIAMixin::~ARIAMixin() = default; -void ARIAMixin::visit_edges(GC::Cell::Visitor& visitor) { +void ARIAMixin::visit_edges(GC::Cell::Visitor& visitor) +{ #define __ENUMERATE_ARIA_ATTRIBUTE(attribute, referencing_attribute) \ visitor.visit(m_cached_##attribute); ENUMERATE_ARIA_ELEMENT_LIST_REFERENCING_ATTRIBUTES