Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix the layout of bitfields in ms_struct unions: their | John McCall | 2015-08-19 | 1 | -37/+19 |
| | | | | | | | | | | | | | | | alignment is ignored, and they always allocate a complete storage unit. Also, change the dumping of AST record layouts: use the more readable C++-style dumping even in C, include bitfield offset information in the dump, and don't print sizeof/alignof information for fields of record type, since we don't do so for bases or other kinds of field. rdar://22275433 llvm-svn: 245514 | ||||
* | __declspec is not a core Clang language extension. Instead, require ↵ | Aaron Ballman | 2015-05-26 | 1 | -2/+2 |
| | | | | | | | -fms-extensions or -fborland to enable the language extension. Note: __declspec is also temporarily enabled when compiling for a CUDA target because there are implementation details relying on __declspec(property) support currently. When those details change, __declspec should be disabled for CUDA targets. llvm-svn: 238238 | ||||
* | MS ABI: Add an additional test for empty structs in C | David Majnemer | 2014-10-03 | 1 | -0/+88 |
Empty structs in C differ from those in C++. - C++ requires that empty types have size 1; alignment requirements may increase the size of the struct. - The C implementation doesn't let empty structs have a size under 4 bytes. Again, alignment requirements may increase the struct's size. Add a test to stress these differences. llvm-svn: 218963 |