[cfe-commits] [libcxx] r150964 - /libcxx/trunk/src/locale.cpp

Howard Hinnant hhinnant at apple.com
Mon Feb 20 09:13:20 PST 2012


On Feb 20, 2012, at 12:06 PM, Benjamin Kramer wrote:

> 
> On 20.02.2012, at 17:51, Howard Hinnant wrote:
> 
>> Author: hhinnant
>> Date: Mon Feb 20 10:51:43 2012
>> New Revision: 150964
>> 
>> URL: http://llvm.org/viewvc/llvm-project?rev=150964&view=rev
>> Log:
>> Silence -Wmissing-field-initializers a little higher in the source.
> 
> clang won't warn if it sees the more idiomatic
> 
> tm t = {};

<nod> I noticed that.  I guess I'm just old fashioned.  I agreed with Jeffrey Yasskin when he recently wrote:

> I personally like the extra reminder that it's 0 the rest of the fields
> will be initialized with.

Howard




More information about the cfe-commits mailing list