summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/union-init2.c
Commit message (Collapse)AuthorAgeFilesLines
* clang side to match the LLVM IR type system rewrite patch.Chris Lattner2011-07-091-2/+2
| | | | llvm-svn: 134831
* emit padding as undef values, take 2Nuno Lopes2010-04-161-1/+7
| | | | | | merge also a few tests I had here for this feature, and FileCheck'ize one file llvm-svn: 101535
* fix PR6660/6168: emit padding as zeros instead of undef. Because Chris Lattner2010-04-121-1/+4
| | | | | | | | trailing fields may not be represented in initializer lists, they are being handled as padding and those fields *must* be zero initialized. llvm-svn: 101067
* 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
* make clang emit undefs for padding of structs and unions instead of zeros. ↵Nuno Lopes2009-10-291-1/+1
| | | | | | this enables constant compaction optimizations. llvm-svn: 85504
* Make test a bit more precise.Eli Friedman2009-08-151-1/+1
| | | | llvm-svn: 79073
* Fix a minor issue with unions in the new struct building code.Eli Friedman2009-08-011-0/+4
llvm-svn: 77829
OpenPOWER on IntegriCloud