summaryrefslogtreecommitdiff
path: root/test/CodeGenCXX/compound-literals.cpp
Commit message (Collapse)AuthorAge
* CHECK-LABEL-ify some code gen tests to improve diagnostic experience when ↵Stephen Lin2013-08-15
| | | | | | tests fail. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@188447 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix ABI dependent tests by providing an explicit target triple.David Blaikie2012-09-19
| | | | | | Patch by Joey Gouly. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@164239 91177308-0d34-0410-b5e6-96231b3b80d8
* Don't check alignment, it's irrelevant to this test.Richard Smith2011-11-23
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@145093 91177308-0d34-0410-b5e6-96231b3b80d8
* Use static storage duration for file-scope compound literals, even when theyRichard Smith2011-11-22
| | | | | | | appear in non-constant initializers in C++. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@145087 91177308-0d34-0410-b5e6-96231b3b80d8
* When reference binding array rvalues, such as those created by compoundPeter Collingbourne2011-11-13
| | | | | | literals of array type, materialise a temporary. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@144483 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement proper support for generating code for compound literals inDouglas Gregor2011-06-17
C++, which means: - binding the temporary as needed in Sema, so that we generate the appropriate call to the destructor, and - emitting the compound literal into the appropriate location for the aggregate, rather than trying to emit it as a temporary and memcpy() it. Fixes PR10138 / <rdar://problem/9615901>. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@133235 91177308-0d34-0410-b5e6-96231b3b80d8