summaryrefslogtreecommitdiffstats
path: root/clang/test/Sema/ms_bitfield_layout.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix the layout of bitfields in ms_struct unions: theirJohn McCall2015-08-191-72/+148
| | | | | | | | | | | | | | | 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
* Prune CRLF.NAKAMURA Takumi2014-10-271-265/+265
| | | | llvm-svn: 220678
* MS ABI: Bitfields FielDecls only align if they allocateDavid Majnemer2014-04-131-2/+24
| | | | | | | | | Don't consider a __declspec(align) on a bitfield's declaration if it didn't allocate any underlying storage. This fixes PR19414. llvm-svn: 206132
* Remove the -cxx-abi command-line flag.Hans Wennborg2014-01-141-2/+2
| | | | | | | | | | | | | | | This makes the C++ ABI depend entirely on the target: MS ABI for -win32 triples, Itanium otherwise. It's no longer possible to do weird combinations. To be able to run a test with a specific ABI without constraining it to a specific triple, new substitutions are added to lit: %itanium_abi_triple and %ms_abi_triple can be used to get the current target triple adjusted to the desired ABI. For example, if the test suite is running with the i686-pc-win32 target, %itanium_abi_triple will expand to i686-pc-mingw32. Differential Revision: http://llvm-reviews.chandlerc.com/D2545 llvm-svn: 199250
* Implements 64 bit microsoft record layout and adds lit tests to cover Warren Hunt2013-10-231-0/+2
| | | | | | | | | it. Also removes all of the microsoft C++ ABI related code from the itanium layout builder. Differential Revision: http://llvm-reviews.chandlerc.com/D2003 llvm-svn: 193290
* Lit tests for Microsoft C++ record layout.Warren Hunt2013-10-141-0/+241
They weren't added with the rest of the microsoft record layout patch due me not doing svn add. llvm-svn: 192612
OpenPOWER on IntegriCloud