mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 05:09:12 +00: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
|
@ -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); \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue