[cfe-commits] r159733 - in /cfe/trunk: lib/Sema/SemaInit.cpp test/CodeGenCXX/const-init-cxx11.cpp test/CodeGenCXX/constructor-init.cpp test/SemaCXX/constant-expression-cxx11.cpp test/SemaCXX/cxx0x-initializer-constructor.cpp

Sebastian Redl sebastian.redl at getdesigned.at
Thu Jul 5 04:01:07 PDT 2012


On 05.07.2012 10:39, Richard Smith wrote:
> Author: rsmith
> Date: Thu Jul  5 03:39:21 2012
> New Revision: 159733
>
> URL: http://llvm.org/viewvc/llvm-project?rev=159733&view=rev
> Log:
> PR13273: When performing list-initialization with an empty initializer list,
> actually perform value initialization rather than trying to fake it with a call
> to the default constructor. Fixes various bugs related to the previously-missing
> zero-initialization in this case.
>
> I've also moved this and the other list initialization 'special case' from
> TryConstructorInitialization into TryListInitialization where they belong.
>
Thank you!

Sebastian



More information about the cfe-commits mailing list