[cfe-commits] r135177 - in /cfe/trunk: lib/Sema/SemaInit.cpp test/CXX/dcl.decl/dcl.init/dcl.init.aggr/p1-0x.cpp test/SemaCXX/aggregate-initialization.cpp test/SemaCXX/generalized-initializers.cpp

Rafael Ávila de Espíndola rafael.espindola at gmail.com
Thu Jul 14 16:00:24 PDT 2011


On 07/14/2011 03:08 PM, Sebastian Redl wrote:
> Author: cornedbee
> Date: Thu Jul 14 14:08:10 2011
> New Revision: 135177
>
> URL: http://llvm.org/viewvc/llvm-project?rev=135177&view=rev
> Log:
> For C++11, do more checking of initializer lists up-front, enabling some subset of the final functionality. C just leaves the function early. C++98 runs through the same code path, but has no changed functionality either.
> This is a first baby step towards supporting generalized initializer lists. This also removes an aggregate
> test case that was just plain wrong, assuming that non-aggregates couldn't be initialized with initializer lists
> in C++11 mode.

This caused PR10363, so I reverted it.

Cheers,
Rafael



More information about the cfe-commits mailing list