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

Rafael EspĂ­ndola rafael.espindola at gmail.com
Fri Oct 18 10:59:51 PDT 2013


On 18 October 2013 13:50, Richard Smith <richard at metafoo.co.uk> wrote:
> 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?
>

If I create a test.h header with

------------------------------
inline static void f1();
void f1() {}

inline static void f2() {}
-----------------------------

I get a warning for f1, but not f2.

Cheers,
Rafael



More information about the cfe-commits mailing list