summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaCXX/cxx1y-initializer-aggregates.cpp
Commit message (Collapse)AuthorAgeFilesLines
* C++1y: Allow aggregates to have default initializers.Richard Smith2013-04-201-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
OpenPOWER on IntegriCloud