Hi, this testcase fails to produce a "return value missing" diagnostic: === Cut === class test { bool fii(test* other) { if (!other) return false; } }; === Cut === Interestingly, it works when declared outside the class itself, which makes me suspect that this is caused by some C++ parser oddity.
Actually all inlined functions for C++ are missing the diagnostic: inline int fii(int *other) { if(!other)return 0; }
(In reply to comment #0) > Interestingly, it works when declared outside the class itself, which makes me > suspect that this is caused by some C++ parser oddity. Are you sure because I could reproduce the missing warning for all inline functions with the C++ front-end.
*** This bug has been marked as a duplicate of 21678 ***