[cfe-commits] [Patch] Better wording for return with value from constructor
hans at chromium.org
Wed Jun 29 18:05:10 PDT 2011
The attached patch changes the error message for returning a value
from a constructor or destructor from: "void function 'C' should not
return a value" to "constructor 'C' should not return a value".
The warning definition does get a bit messier, so please comment if
there's a nicer way to do it.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 2174 bytes
Desc: not available
More information about the cfe-commits