We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 08353a3 commit f4a6bb7Copy full SHA for f4a6bb7
clang/test/CIR/CodeGen/struct-init.cpp
@@ -5,13 +5,13 @@
5
// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -emit-llvm %s -o %t.ll
6
// RUN: FileCheck --check-prefix=OGCG --input-file=%t.ll %s
7
8
-struct O {
+struct BitfieldStruct {
9
unsigned int a:4;
10
unsigned int b:14;
11
unsigned int c:14;
12
};
13
14
-O overlapping_init = { 3, 2, 1 };
+BitfieldStruct overlapping_init = { 3, 2, 1 };
15
16
// This is unintuitive. The bitfields are initialized using a struct of constants
17
// that maps to the bitfields but splits the value into bytes.
0 commit comments