[cfe-commits] r148350 - in /cfe/trunk: lib/Sema/SemaOverload.cpp test/SemaCXX/cxx0x-initializer-stdinitializerlist.cpp

Richard Smith richard at metafoo.co.uk
Tue Jan 17 15:54:25 PST 2012


On Tue, January 17, 2012 22:49, Sebastian Redl wrote:
> Author: cornedbee
> Date: Tue Jan 17 16:49:48 2012
> New Revision: 148350
>
>
> URL: http://llvm.org/viewvc/llvm-project?rev=148350&view=rev
> Log:
> Basic overloading support for std::initializer_list.
>
>
> Modified:
> cfe/trunk/lib/Sema/SemaOverload.cpp
> cfe/trunk/test/SemaCXX/cxx0x-initializer-stdinitializerlist.cpp
>
> Modified: cfe/trunk/lib/Sema/SemaOverload.cpp
> URL:
> http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaOverload.cpp?rev=1
> 48350&r1=148349&r2=148350&view=diff
> ==============================================================================
>  --- cfe/trunk/lib/Sema/SemaOverload.cpp (original)
> +++ cfe/trunk/lib/Sema/SemaOverload.cpp Tue Jan 17 16:49:48 2012
> @@ -3953,15 +3953,42 @@
> Result.setBad(BadConversionSequence::no_conversion, From, ToType);
> Result.setListInitializationSequence();
>
>
> +  // We need a complete type for what follows. Incomplete types can bever be

Typo 'bever'.

[This is looking awesome, great work!]

Thanks, Richard




More information about the cfe-commits mailing list