Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Adds Microsoft compatiable C++ record layout code to clang. | Warren Hunt | 2013-10-11 | 1 | -1/+0 |
| | | | | llvm-svn: 192494 | ||||
* | Rewrite record layout for ms_struct structs. | Eli Friedman | 2013-06-26 | 1 | -0/+19 |
The old implementation of ms_struct in RecordLayoutBuilder was a complete mess: it depended on complicated conditionals which didn't really reflect the underlying logic, and placed a burden on users of the resulting RecordLayout. This commit rips out almost all of the old code, and replaces it with simple checks in RecordLayoutBuilder::LayoutBitField. This commit also fixes <rdar://problem/14252115>, a bug where class inheritance would cause us to lay out bitfields incorrectly. llvm-svn: 185018 |