I've taken the liberty of making these updates in r151477. Awesome work! On Sat, Feb 25, 2012 at 1:44 PM, Charles Davis <[email protected]>wrote:
> > On Feb 25, 2012, at 2:33 PM, Richard Smith wrote: > > Please also update LanguageExtensions.html: it still says we don't support > initializer lists. > > Oh, and while you're at it, please also update the release notes. I'm sure > Chris would appreciate that a lot ;). > > Chip > > > On Sat, Feb 25, 2012 at 12:51 PM, Sebastian Redl < > [email protected]> wrote: > >> Author: cornedbee >> Date: Sat Feb 25 14:51:27 2012 >> New Revision: 151458 >> >> URL: http://llvm.org/viewvc/llvm-project?rev=151458&view=rev >> Log: >> Initializer lists are now supported. >> >> Modified: >> cfe/trunk/lib/Lex/PPMacroExpansion.cpp >> cfe/trunk/test/Lexer/has_feature_cxx0x.cpp >> cfe/trunk/www/cxx_status.html >> >> Modified: cfe/trunk/lib/Lex/PPMacroExpansion.cpp >> URL: >> http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Lex/PPMacroExpansion.cpp?rev=151458&r1=151457&r2=151458&view=diff >> >> ============================================================================== >> --- cfe/trunk/lib/Lex/PPMacroExpansion.cpp (original) >> +++ cfe/trunk/lib/Lex/PPMacroExpansion.cpp Sat Feb 25 14:51:27 2012 >> @@ -650,7 +650,7 @@ >> .Case("cxx_delegating_constructors", LangOpts.CPlusPlus0x) >> .Case("cxx_deleted_functions", LangOpts.CPlusPlus0x) >> .Case("cxx_explicit_conversions", LangOpts.CPlusPlus0x) >> - //.Case("cxx_generalized_initializers", LangOpts.CPlusPlus0x) >> + .Case("cxx_generalized_initializers", LangOpts.CPlusPlus0x) >> .Case("cxx_implicit_moves", LangOpts.CPlusPlus0x) >> //.Case("cxx_inheriting_constructors", false) >> .Case("cxx_inline_namespaces", LangOpts.CPlusPlus0x) >> >> Modified: cfe/trunk/test/Lexer/has_feature_cxx0x.cpp >> URL: >> http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Lexer/has_feature_cxx0x.cpp?rev=151458&r1=151457&r2=151458&view=diff >> >> ============================================================================== >> --- cfe/trunk/test/Lexer/has_feature_cxx0x.cpp (original) >> +++ cfe/trunk/test/Lexer/has_feature_cxx0x.cpp Sat Feb 25 14:51:27 2012 >> @@ -226,3 +226,12 @@ >> >> // CHECK-0X: has_constexpr >> // CHECK-NO-0X: no_constexpr >> + >> +#if __has_feature(cxx_generalized_initializers) >> +int has_generalized_initializers(); >> +#else >> +int no_generalized_initializers(); >> +#endif >> + >> +// CHECK-0X: has_generalized_initializers >> +// CHECK-NO-0X: no_generalized_initializers >> >> Modified: cfe/trunk/www/cxx_status.html >> URL: >> http://llvm.org/viewvc/llvm-project/cfe/trunk/www/cxx_status.html?rev=151458&r1=151457&r2=151458&view=diff >> >> ============================================================================== >> --- cfe/trunk/www/cxx_status.html (original) >> +++ cfe/trunk/www/cxx_status.html Sat Feb 25 14:51:27 2012 >> @@ -81,7 +81,7 @@ >> <tr> >> <td>Initializer lists</td> >> <td><a href=" >> http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2672.htm >> ">N2672</a></td> >> - <td class="none" align="center">In progress</td> >> + <td class="svn" align="center">SVN</td> >> </tr> >> <tr> >> <td>Static assertions</td> >> >> >> _______________________________________________ >> cfe-commits mailing list >> [email protected] >> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits >> > > _______________________________________________ > cfe-commits mailing list > [email protected] > http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits > > >
_______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
