1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 07:38:10 +00:00

Everywhere: Remove unnecessary clang-format offs

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:
William McPherson 2021-03-04 19:15:17 +11:00 committed by Andreas Kling
parent 2119c9e801
commit 2479ead718
10 changed files with 8 additions and 29 deletions

View file

@ -44,7 +44,6 @@ struct icmphdr {
} un;
};
// clang-format off
#define ICMP_ECHOREPLY 0 // Echo Reply
#define ICMP_DEST_UNREACH 3 // Destination Unreachable
#define ICMP_SOURCE_QUENCH 4 // Source Quench
@ -59,6 +58,5 @@ struct icmphdr {
#define ICMP_ADDRESS 17 // Address Mask Request
#define ICMP_ADDRESSREPLY 18 // Address Mask Reply
#define NR_ICMP_TYPES 18
//clang-format on
__END_DECLS