Skip to content

Commit 4dd29eb

Browse files
authored
[clang][bytecode][NFC] Move incorrect LLVM_PREFERRED_TYPE attribute (#128740)
Looks like this was accidentally added after the bitfield and thus didn't work.
1 parent 079557c commit 4dd29eb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang/lib/AST/ByteCode/Descriptor.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,9 +95,9 @@ struct InlineDescriptor {
9595
/// Flag indicating if the field is the active member of a union.
9696
LLVM_PREFERRED_TYPE(bool)
9797
unsigned IsActive : 1;
98-
/// Flat indicating if this field is in a union (even if nested).
99-
unsigned InUnion : 1;
98+
/// Flag indicating if this field is in a union (even if nested).
10099
LLVM_PREFERRED_TYPE(bool)
100+
unsigned InUnion : 1;
101101
/// Flag indicating if the field is mutable (if in a record).
102102
LLVM_PREFERRED_TYPE(bool)
103103
unsigned IsFieldMutable : 1;

0 commit comments

Comments
 (0)