[cfe-commits] [Patch] Tweak warning text for returning incomplete type from extern "C" functions

Hans Wennborg hans at chromium.org
Tue Jul 24 09:44:33 PDT 2012


Hi all,

The attached patch tweaks the warning text for returning incomplete
type from extern "C" functions.

A warning was added in r150128 for returning non-C compatible
user-defined types from functions with C linkage.

This makes the text more clear for the case when the type isn't
decidedly non-C compatible, but incomplete.

Please take a look.

Thanks,
Hans
-------------- next part --------------
A non-text attachment was scrubbed...
Name: warn_return_value_udt_incomplete.patch
Type: application/octet-stream
Size: 2147 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120724/89ba2d45/attachment.obj>


More information about the cfe-commits mailing list