mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-29 12:49:08 +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
@@ -37,8 +37,7 @@ namespace Kernel {
|
||||
#define GPT_SIGNATURE 0x20494645
|
||||
#define BytesPerSector 512
|
||||
|
||||
struct [[gnu::packed]] GPTPartitionEntry
|
||||
{
|
||||
struct [[gnu::packed]] GPTPartitionEntry {
|
||||
u8 partition_guid[16];
|
||||
u8 unique_guid[16];
|
||||
|
||||
@@ -49,8 +48,7 @@ struct [[gnu::packed]] GPTPartitionEntry
|
||||
char partition_name[72];
|
||||
};
|
||||
|
||||
struct [[gnu::packed]] GUIDPartitionHeader
|
||||
{
|
||||
struct [[gnu::packed]] GUIDPartitionHeader {
|
||||
u32 sig[2];
|
||||
u32 revision;
|
||||
u32 header_size;
|
||||
|
||||
Reference in New Issue
Block a user