[PATCH] Replacing empty switches

Aaron Ballman aaron at aaronballman.com
Wed Jul 10 07:11:59 PDT 2013


This patch replaces an empty switch statement with its moral
equivalent.  If we find that we need the switch behavior in the
future, we can always add it back in then.

There's a corresponding cleanup coming for the same problem in a few
places in LLVM.

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


More information about the cfe-commits mailing list