On Sep 13, 2013, at 10:36 AM, Oliver Hunt <oli...@apple.com> wrote:

> I guess there's no nice automate-able to handle everything magically.

We could require either default: or DEFAULT_NOT_REACHED at ends of switches. To 
use DEFAULT_NOT_REACHED after a switch the cases need to use return, not break. 
I’m sure we can teach the style checker to check this if we decide it’s the 
rule.

-- Darin
_______________________________________________
webkit-dev mailing list
webkit-dev@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-dev

Reply via email to