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")
This commit is contained in:
Timothy Flynn 2025-05-11 14:56:31 -04:00 committed by Andrew Kaster
commit ca9f3673c5
Notes: github-actions[bot] 2025-05-14 08:06:54 +00:00
3 changed files with 6 additions and 5 deletions

View file

@ -119,9 +119,9 @@ inline constexpr bool IsFunction<Ret(Args...) const volatile> = true;
template<class Ret, class... Args> template<class Ret, class... Args>
inline constexpr bool IsFunction<Ret(Args..., ...) const volatile> = true; inline constexpr bool IsFunction<Ret(Args..., ...) const volatile> = true;
template<class Ret, class... Args> template<class Ret, class... Args>
inline constexpr bool IsFunction<Ret(Args...)&> = true; inline constexpr bool IsFunction<Ret(Args...) &> = true;
template<class Ret, class... Args> template<class Ret, class... Args>
inline constexpr bool IsFunction<Ret(Args..., ...)&> = true; inline constexpr bool IsFunction<Ret(Args..., ...) &> = true;
template<class Ret, class... Args> template<class Ret, class... Args>
inline constexpr bool IsFunction<Ret(Args...) const&> = true; inline constexpr bool IsFunction<Ret(Args...) const&> = true;
template<class Ret, class... Args> template<class Ret, class... Args>

View file

@ -21,12 +21,12 @@ struct Options {
return typ { __VA_ARGS__ }; \ return typ { __VA_ARGS__ }; \
} \ } \
typ name = default_##name(); \ typ name = default_##name(); \
Options& set_##name(typ new_value)& \ Options& set_##name(typ new_value) & \
{ \ { \
name = move(new_value); \ name = move(new_value); \
return *this; \ return *this; \
} \ } \
Options&& set_##name(typ new_value)&& \ Options&& set_##name(typ new_value) && \
{ \ { \
name = move(new_value); \ name = move(new_value); \
return move(*this); \ return move(*this); \

View file

@ -15,7 +15,8 @@ namespace Web::ARIA {
ARIAMixin::ARIAMixin() = default; ARIAMixin::ARIAMixin() = default;
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) \ #define __ENUMERATE_ARIA_ATTRIBUTE(attribute, referencing_attribute) \
visitor.visit(m_cached_##attribute); visitor.visit(m_cached_##attribute);
ENUMERATE_ARIA_ELEMENT_LIST_REFERENCING_ATTRIBUTES ENUMERATE_ARIA_ELEMENT_LIST_REFERENCING_ATTRIBUTES