Skip to content

Commit 4303621

Browse files
Address review feedback
1 parent 437bae9 commit 4303621

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

clang/test/CIR/CodeGen/mms-bitfields.c

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,19 +15,19 @@ struct s1 {
1515
// OGCG-DAG: %struct.s1 = type { i32, i64 }
1616

1717
struct s2 {
18-
int a : 24;
18+
int a : 24;
1919
char b;
20-
int c : 30;
20+
int c : 30;
2121
} Clip;
2222

2323
// CIR-DAG: !rec_s2 = !cir.record<struct "s2" {!s32i, !s8i, !s32i}>
2424
// LLVM-DAG: %struct.s2 = type { i32, i8, i32 }
2525
// OGCG-DAG: %struct.s2 = type { i32, i8, i32 }
2626

2727
struct s3 {
28-
int a : 18;
29-
int : 0;
30-
int c : 14;
28+
int a : 18;
29+
int : 0;
30+
int c : 14;
3131
} zero_bit;
3232

3333
// CIR-DAG: !rec_s3 = !cir.record<struct "s3" {!s32i, !s32i}>
@@ -37,10 +37,10 @@ struct s3 {
3737
#pragma pack (push,1)
3838

3939
struct Inner {
40-
unsigned int A : 1;
41-
unsigned int B : 1;
42-
unsigned int C : 1;
43-
unsigned int D : 30;
40+
unsigned int A : 1;
41+
unsigned int B : 1;
42+
unsigned int C : 1;
43+
unsigned int D : 30;
4444
} Inner;
4545

4646
#pragma pack (pop)

0 commit comments

Comments
 (0)