mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-28 12:18:25 +00:00
Everywhere: Re-format with clang-format-11
Compared to version 10 this fixes a bunch of formatting issues, mostly
around structs/classes with attributes like [[gnu::packed]], and
incorrect insertion of spaces in parameter types ("T &"/"T &&").
I also removed a bunch of // clang-format off/on and FIXME comments that
are no longer relevant - on the other hand it tried to destroy a couple of
neatly formatted comments, so I had to add some as well.
This commit is contained in:
committed by
Andreas Kling
parent
2568a93b5d
commit
bbe787a0af
@@ -32,10 +32,7 @@ namespace Web::HTML::EventNames {
|
||||
ENUMERATE_HTML_EVENTS
|
||||
#undef __ENUMERATE_HTML_EVENT
|
||||
|
||||
// clang-format off
|
||||
// FIXME: clang-format gets confused here. Why?
|
||||
[[gnu::constructor]] static void initialize()
|
||||
// clang-format on
|
||||
{
|
||||
static bool s_initialized = false;
|
||||
if (s_initialized)
|
||||
|
||||
Reference in New Issue
Block a user