| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Implement C++1y constant initializer rules: in a constant initializer for an | Richard Smith | 2013-05-09 | 1 | -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 Smith | 2013-04-20 | 1 | -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 | |||||

