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:
Linus Groh 2020-12-30 22:44:54 +01:00 committed by Andreas Kling
commit bbe787a0af
Notes: sideshowbarker 2024-07-19 00:18:21 +09:00
54 changed files with 130 additions and 230 deletions

View file

@ -46,8 +46,7 @@ struct ARPHardwareType {
};
};
class [[gnu::packed]] ARPPacket
{
class [[gnu::packed]] ARPPacket {
public:
u16 hardware_type() const { return m_hardware_type; }
void set_hardware_type(u16 w) { m_hardware_type = w; }