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

Aaron Ballman aaron at aaronballman.com
Tue Jul 24 10:04:54 PDT 2012


Patch LGTM!

~Aaron

On Tue, Jul 24, 2012 at 11:44 AM, Hans Wennborg <hans at chromium.org> wrote:
> 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



More information about the cfe-commits mailing list