summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/cxx1y-initializer-aggregate.cpp
Commit message (Collapse)AuthorAgeFilesLines
* P0145R3 (C++17 evaluation order tweaks): consistently emit the LHS of arrayRichard Smith2016-09-261-1/+1
| | | | | | | subscripting before the RHS, regardless of which is the base and which is the index. llvm-svn: 282453
* Test case updates for explicit type parameter to the gep operatorDavid Blaikie2015-03-131-2/+2
| | | | llvm-svn: 232187
* Update Clang tests to handle explicitly typed load changes in LLVM.David Blaikie2015-02-271-2/+2
| | | | llvm-svn: 230795
* Update Clang tests to handle explicitly typed gep changes in LLVM.David Blaikie2015-02-271-1/+1
| | | | llvm-svn: 230783
* Fix brace init of unions with unnamed struct membersReid Kleckner2014-11-121-0/+11
| | | | | | | | The check for unnamed members was intended to skip unnamed bitfields, but it ended up skipping unnamed structs. This lead to an assertion in IRGen. llvm-svn: 221818
* Implement DR990 and DR1070. Aggregate initialization initializes uninitializedRichard Smith2014-06-031-1/+1
| | | | | | | | | elements from {}, rather than value-initializing them. This permits calling an initializer-list constructor or constructing a std::initializer_list object. (It would also permit initializing a const reference or rvalue reference if that weren't explicitly prohibited by other rules.) llvm-svn: 210091
* Implement C++1y constant initializer rules: in a constant initializer for anRichard Smith2013-05-091-11/+6
| | | | | | | | object x, x's subobjects can be constructed by constexpr constructor even if they are of non-literal type, and can be read and written even though they're not members of a constexpr object or temporary. llvm-svn: 181506
* C++1y: Allow aggregates to have default initializers.Richard Smith2013-04-201-0/+74
Add a CXXDefaultInitExpr, analogous to CXXDefaultArgExpr, and use it both in CXXCtorInitializers and in InitListExprs to represent a default initializer. There's an additional complication here: because the default initializer can refer to the initialized object via its 'this' pointer, we need to make sure that 'this' points to the right thing within the evaluation. llvm-svn: 179958
OpenPOWER on IntegriCloud