[PATCH] Warn on empty switch statements

Aaron Ballman aaron at aaronballman.com
Tue May 28 08:27:59 PDT 2013


This patch addresses PR4546; it warns when a switch statement contains
a body, but the body does not contain any case or default labels.

~Aaron
-------------- next part --------------
A non-text attachment was scrubbed...
Name: switch.patch
Type: application/octet-stream
Size: 1787 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130528/cbdeb910/attachment.obj>


More information about the cfe-commits mailing list