Eli Friedman
|
89e6e85f1a
A base subobject type doesn't make sense for unions; don't try to compute it. Based on patch by Yin Ma. Fixes PR11751.
|
13 年之前 |
Eli Friedman
|
fa2b3dd31c
Make CGRecordLayoutBuilder correctly switch over to a packed class when a class has a base whose alignment will break the class layout. <rdar://problem/10551376>.
|
13 年之前 |
Eli Friedman
|
26e80cdfe8
Make sure we correctly zero-initialize unions containing a pointer to data member as the first field. PR11487.
|
13 年之前 |
John McCall
|
9da235244c
Fix the layout of vb-tables and vf-tables in the MS C++ ABI.
|
13 年之前 |
Eli Friedman
|
97c0aefe8c
Rewrite parts of MS ABI C++ layout. Based on work by r4start; I ended up doing this while I was trying to review his patch.
|
14 年之前 |
Richard Smith
|
a6b8b2c096
Constant expression evaluation refactoring:
|
14 年之前 |
Douglas Gregor
|
bcfd1f55bf
Extend the ASTContext constructor to delay the initialization of
|
14 年之前 |
Chris Lattner
|
c1c20114a4
switch clang to use the new-new way of creating llvm::StructType's.
|
14 年之前 |
Chris Lattner
|
5f9e272e63
remove unneeded llvm:: namespace qualifiers on some core types now that LLVM.h imports
|
14 年之前 |
Chris Lattner
|
2acc6e3fed
de-constify llvm::Type, patch by David Blaikie!
|
14 年之前 |
Chris Lattner
|
9cbe4f0ba0
clang side to match the LLVM IR type system rewrite patch.
|
14 年之前 |
Daniel Dunbar
|
e26bdb91b7
IRgen: Add a -fuse-register-sized-bitfield-access option, for testing.
|
14 年之前 |
Douglas Gregor
|
575a1c9dc8
Introduce Type::isSignedIntegerOrEnumerationType() and
|
14 年之前 |
Fariborz Jahanian
|
855a8e79f4
Finish off rules for z-length bitfields in ms_struct
|
14 年之前 |
Fariborz Jahanian
|
340fa24213
More rule enforcement of zero bitfields for ms_struct.
|
14 年之前 |
Fariborz Jahanian
|
14d56ef43f
Some refactoring of my ms_struct patch.
|
14 年之前 |
Fariborz Jahanian
|
62055b0618
With ms_struct attribut, Zero-length bitfields following
|
14 年之前 |
Ken Dyck
|
3256de709a
Simplify AppendTailPadding() by converting its parameter to CharUnits. No
|
14 年之前 |
Ken Dyck
|
737978d336
Eliminate literal 8s from LayoutUnionField by converting NumBytesToAppend to
|
14 年之前 |
Ken Dyck
|
edda6e4327
Eliminate literal 8s from LayoutBitField(), converting variables to
|
14 年之前 |
Ken Dyck
|
b9e6b2c215
Convert AccessInfo::AccessAlignment to CharUnits. No change in functionality
|
14 年之前 |
Ken Dyck
|
28ebde58dd
Convert CGBitFieldInfo::FieldByteOffset to CharUnits. No change in
|
14 年之前 |
Anders Carlsson
|
eb9d81dff9
When laying out bases in, always try the "base subobject" LLVM type. If it
|
14 年之前 |
Anders Carlsson
|
2786a81415
Use a SmallVector for field types in CGRecordLayoutBuilder now that llvm::StructType::get takes an ArrayRef.
|
14 年之前 |
Nick Lewycky
|
c3e494047b
Fix typo in comment.
|
14 年之前 |
John McCall
|
92ee7ca6f4
A much-delayed response to Ken Dyck's review: make this somewhat more
|
14 年之前 |
Chris Lattner
|
d8df5b65fc
improve support for big endian targets, fixing PR8171, patch
|
14 年之前 |
John McCall
|
fd577d6b71
Refactor CGRecordLayoutBuilder to use CharUnits more consistently.
|
14 年之前 |
John McCall
|
9b7da1c46d
Perform zero-initialization of virtual base classes when emitting
|
14 年之前 |
Ken Dyck
|
dac54c124e
Convert RecordLayout::Alignment to CharUnits from bit units. No change in
|
14 年之前 |