[cfe-commits] r127507 - in /cfe/trunk: include/clang/Basic/DiagnosticParseKinds.td lib/Parse/ParseStmt.cpp test/SemaCXX/cxx0x-return-init-list.cpp

Rafael Ávila de Espíndola rafael.espindola at gmail.com
Sat Mar 12 08:09:49 PST 2011


On 2011-03-11 18:10, Douglas Gregor wrote:
> Author: dgregor
> Date: Fri Mar 11 17:10:44 2011
> New Revision: 127507
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=127507&view=rev
> Log:
> Implement a hack intended to allow Clang to parse libstdc++ 4.5's
> headers, which use C++0x generalized initializer lists. Per PR7069, it
> appears that the only use is as the return type of a function, so this
> commit enables this extension just in that narrow case. If it's enough
> for libstdc++ 4.5, or if it can be trivially extended to work with
> libstdc++ 4.5, we'll keep it. Otherwise, or if this breaks anything,
> we'll revert and wait for the real feature.

I was able to bootstrap clang and build firefox with 4.5 headers, thanks
a lot!

Thanks,
Rafael



More information about the cfe-commits mailing list