Skip to content
This repository was archived by the owner on Feb 5, 2019. It is now read-only.

Commit 67f71d1

Browse files
committed
clang-format this function.
No functionality change, it will just make the next patch easier to read. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@206792 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent cdb2808 commit 67f71d1

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,23 +37,28 @@ MCDisableArithRelaxation("mc-x86-disable-arith-relaxation",
3737

3838
static unsigned getFixupKindLog2Size(unsigned Kind) {
3939
switch (Kind) {
40-
default: llvm_unreachable("invalid fixup kind!");
40+
default:
41+
llvm_unreachable("invalid fixup kind!");
4142
case FK_PCRel_1:
4243
case FK_SecRel_1:
43-
case FK_Data_1: return 0;
44+
case FK_Data_1:
45+
return 0;
4446
case FK_PCRel_2:
4547
case FK_SecRel_2:
46-
case FK_Data_2: return 1;
48+
case FK_Data_2:
49+
return 1;
4750
case FK_PCRel_4:
4851
case X86::reloc_riprel_4byte:
4952
case X86::reloc_riprel_4byte_movq_load:
5053
case X86::reloc_signed_4byte:
5154
case X86::reloc_global_offset_table:
5255
case FK_SecRel_4:
53-
case FK_Data_4: return 2;
56+
case FK_Data_4:
57+
return 2;
5458
case FK_PCRel_8:
5559
case FK_SecRel_8:
56-
case FK_Data_8: return 3;
60+
case FK_Data_8:
61+
return 3;
5762
}
5863
}
5964

0 commit comments

Comments
 (0)