Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | C++1y: Allow aggregates to have default initializers. | Richard Smith | 2013-04-20 | 1 | -0/+63 |
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 |