summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/2008-07-22-bitfield-init-after-zero-len-array.c
Commit message (Collapse)AuthorAgeFilesLines
* CodeGen: ConstStructBuilder must verify packed constraints after paddingDavid Majnemer2014-10-191-2/+1
| | | | | | | | | | | | | | | | | | This reverts commit r220169 which reverted r220153. However, it also contains additional changes: - We may need to add padding *after* we've packed the struct. This occurs when the aligned next field offset is greater than the new field's offset. When this occurs, we make the struct packed. *However*, once packed the next field offset might be less than the new feild's offset. It is in this case that we might further pad the struct. - We would pad structs which were perfectly sized! This behavior is immensely old. This behavior came from blindly subtracting NextFieldOffsetInChars from RecordSize. This doesn't take into account the fact that the struct might have a greater overall alignment than the last field. llvm-svn: 220175
* Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.Daniel Dunbar2009-12-151-1/+1
| | | | | | | | | - This is designed to make it obvious that %clang_cc1 is a "test variable" which is substituted. It is '%clang_cc1' instead of '%clang -cc1' because it can be useful to redefine what gets run as 'clang -cc1' (for example, to set a default target). llvm-svn: 91446
* Normalize options to use '-FOO' instead of '--FOO'.Daniel Dunbar2009-11-291-1/+1
| | | | llvm-svn: 90071
* Eliminate &&s in tests.Daniel Dunbar2009-11-081-1/+1
| | | | | | - 'for i in $(find . -type f); do sed -e 's#\(RUN:.*[^ ]\) *&& *$#\1#g' $i | FileUpdate $i; done', for the curious. llvm-svn: 86430
* convert to filecheck and force a triple so that this passes on bigChris Lattner2009-08-271-2/+3
| | | | | | endian hosts. Fixes PR4792 llvm-svn: 80301
* Rename clang to clang-cc.Daniel Dunbar2009-03-241-1/+1
| | | | | | Tests and drivers updated, still need to shuffle dirs. llvm-svn: 67602
* We want to grep the output, not the input :-)Anders Carlsson2009-03-171-1/+1
| | | | llvm-svn: 67074
* Fix crash during initialization of a bitfield which followed a zeroDaniel Dunbar2008-08-101-0/+11
length element. Fix some 80-col violations. llvm-svn: 54610
OpenPOWER on IntegriCloud