mirror of
https://github.com/zebrajr/ladybird.git
synced 2025-12-06 00:19:53 +01:00
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:
parent
d30f6f1b11
commit
ca9f3673c5
|
|
@ -119,9 +119,9 @@ inline constexpr bool IsFunction<Ret(Args...) const volatile> = true;
|
|||
template<class Ret, class... Args>
|
||||
inline constexpr bool IsFunction<Ret(Args..., ...) const volatile> = true;
|
||||
template<class Ret, class... Args>
|
||||
inline constexpr bool IsFunction<Ret(Args...)&> = true;
|
||||
inline constexpr bool IsFunction<Ret(Args...) &> = true;
|
||||
template<class Ret, class... Args>
|
||||
inline constexpr bool IsFunction<Ret(Args..., ...)&> = true;
|
||||
inline constexpr bool IsFunction<Ret(Args..., ...) &> = true;
|
||||
template<class Ret, class... Args>
|
||||
inline constexpr bool IsFunction<Ret(Args...) const&> = true;
|
||||
template<class Ret, class... Args>
|
||||
|
|
|
|||
|
|
@ -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); \
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user