mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-08 05:27:14 +09: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
Notes:
github-actions[bot]
2025-05-14 08:06:54 +00:00
Author: https://github.com/trflynn89
Commit: ca9f3673c5
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4715
Reviewed-by: https://github.com/ADKaster ✅
Reviewed-by: https://github.com/BertalanD
Reviewed-by: https://github.com/InvalidUsernameException
3 changed files with 6 additions and 5 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue