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

Chris Lattner clattner at apple.com
Sat Mar 12 08:13:03 PST 2011


On Mar 12, 2011, at 8:09 AM, Rafael Ávila de Espíndola wrote:

> 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!

Great, would it make sense to pull this patch into 2.9?

-Chris



More information about the cfe-commits mailing list