[cfe-commits] [Patch] Make warning about uninitialized field include the field name

Hans Wennborg hans at chromium.org
Tue Sep 18 09:41:21 PDT 2012


Hi all,

The attached patch makes the warnings about uninitialized fields
include the field name. This makes the wording more informative, and
more consistent with the other uninitialized warnings.

I'm not sure if we really need to do the LookupResult thing here; I
copy-pasted it from SemaDecl.cpp:6329. It would be great if someone
could comment on that.

Thanks,
Hans
-------------- next part --------------
A non-text attachment was scrubbed...
Name: uninit_field_wording.patch
Type: application/octet-stream
Size: 10708 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120918/251550dc/attachment.obj>


More information about the cfe-commits mailing list