mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 06:32:44 +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:
		
							parent
							
								
									2119c9e801
								
							
						
					
					
						commit
						2479ead718
					
				
					 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
	
	 William McPherson
						William McPherson