[cfe-commits] Better const_cast support

Mike Stump mrs at apple.com
Fri Sep 26 16:27:40 PDT 2008


On Sep 26, 2008, at 3:10 PM, Sebastian Redl wrote:
> The test case will now fail because I've put the above in it. I  
> think it's better to have a failing test than to know there's a  
> missing feature but eventually forget about it.

I'd prefer a bug report and a #if 0 // FIXME - add support for this in  
the compiler, then turn this on (bug #n) style comment on the  
testcase.  When I run the testsuite, 0 failures is very easy to  
understand and analyze.  Additionally, a FIXME in the code that  
explains what is left to do should be sufficient to ensure the work  
gets done.  Reference the bug report and/or the testcase as necessary.




More information about the cfe-commits mailing list