mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 14:47:46 +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:
parent
2568a93b5d
commit
bbe787a0af
54 changed files with 130 additions and 230 deletions
|
@ -34,6 +34,7 @@
|
|||
|
||||
namespace Kernel {
|
||||
|
||||
// clang-format off
|
||||
#define PCI_VENDOR_ID 0x00 // word
|
||||
#define PCI_DEVICE_ID 0x02 // word
|
||||
#define PCI_COMMAND 0x04 // word
|
||||
|
@ -66,6 +67,7 @@ namespace Kernel {
|
|||
#define PCI_MAX_DEVICES_PER_BUS 32
|
||||
#define PCI_MAX_BUSES 256
|
||||
#define PCI_MAX_FUNCTIONS_PER_DEVICE 8
|
||||
// clang-format on
|
||||
|
||||
//#define PCI_DEBUG 1
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue