r192869 - This is now passing. Uncomment and close out PR6281.

Richard Smith richard at metafoo.co.uk
Fri Oct 18 10:50:47 PDT 2013

It's common to put this sort of declaration in a header and not use it. Do
we warn if the function is not in the main source file?
On 18 Oct 2013 06:49, "Rafael EspĂ­ndola" <rafael.espindola at gmail.com> wrote:

> On 18 October 2013 01:09, Bill Wendling <isanbard at gmail.com> wrote:
> > It had the same behavior as gcc when the -Wcast-qual flag was used, so
> maybe the comment is incorrect?
>  -Wcast-qual?
>  The warning does seem reasonable. As far as I know, in C
> inline static void f4();
> void f4() { }
> f4 is just a static non-inline function, but pr6281 should be marked
> as invalid then.
> Cheers,
> Rafael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20131018/9fb5726e/attachment.html>

More information about the cfe-commits mailing list