mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-03 01:38:52 +00:00
Everywhere: Remove unnecessary clang-format off
s
Mostly due to the fact that clang-format allows aligned comments via AlignTrailingComments. We could also use raw string literals in inline asm, which clang-format deals with properly (and would be nicer in a lot of places).
This commit is contained in:
parent
2119c9e801
commit
2479ead718
Notes:
sideshowbarker
2024-07-18 21:43:52 +09:00
Author: https://github.com/willmcpherson2
Commit: 2479ead718
Pull-request: https://github.com/SerenityOS/serenity/pull/5632
10 changed files with 8 additions and 29 deletions
|
@ -42,7 +42,6 @@ namespace Kernel {
|
|||
#define PIC1_CTL 0xA0
|
||||
#define PIC1_CMD 0xA1
|
||||
|
||||
// clang-format off
|
||||
#define ICW1_ICW4 0x01 /* ICW4 (not) needed */
|
||||
#define ICW1_SINGLE 0x02 /* Single (cascade) mode */
|
||||
#define ICW1_INTERVAL4 0x04 /* Call address interval 4 (8) */
|
||||
|
@ -54,7 +53,6 @@ namespace Kernel {
|
|||
#define ICW4_BUF_SLAVE 0x08 /* Buffered mode/slave */
|
||||
#define ICW4_BUF_MASTER 0x0C /* Buffered mode/master */
|
||||
#define ICW4_SFNM 0x10 /* Special fully nested (not) */
|
||||
// clang-format on
|
||||
|
||||
bool inline static is_all_masked(u16 reg)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue