Skip to content

Commit edfffaa

Browse files
Charlie BartoCharlie Barto
authored andcommitted
prevent clang-format from wrapping some lines
1 parent 5f900ff commit edfffaa

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

compiler-rt/lib/interception/interception_win.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -703,6 +703,8 @@ static size_t GetInstructionSize(uptr address, size_t* rel_offset = nullptr) {
703703

704704
case 0xec8148: // 48 81 EC XX XX XX XX : sub rsp, XXXXXXXX
705705
return 7;
706+
707+
// clang-format off
706708
case 0x788141: // 41 81 78 XX YY YY YY YY : cmp DWORD PTR [r8+YY], XX XX XX XX
707709
case 0x798141: // 41 81 78 XX YY YY YY YY : cmp DWORD PTR [r9+YY], XX XX XX XX
708710
case 0x7a8141: // 41 81 78 XX YY YY YY YY : cmp DWORD PTR [r10+YY], XX XX XX XX
@@ -713,6 +715,7 @@ static size_t GetInstructionSize(uptr address, size_t* rel_offset = nullptr) {
713715
case 0x7f8141: // 41 81 78 YY XX XX XX XX cmp DWORD P [r15+YY], XX XX XX XX
714716
case 0x247c81: // 81 7c 24 YY XX XX XX XX cmp DWORD P [rsp+YY], XX XX XX XX
715717
return 8;
718+
// clang-format on
716719

717720
case 0x058b48: // 48 8b 05 XX XX XX XX :
718721
// mov rax, QWORD PTR [rip + XXXXXXXX]

0 commit comments

Comments
 (0)