summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaCXX/ms_struct.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Adds Microsoft compatiable C++ record layout code to clang.Warren Hunt2013-10-111-1/+0
| | | | llvm-svn: 192494
* Rewrite record layout for ms_struct structs.Eli Friedman2013-06-261-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
OpenPOWER on IntegriCloud