[cfe-dev] Patch: Add some semantic analysis to switch statements

Anders Carlsson andersca at mac.com
Tue Jul 17 16:30:39 PDT 2007


Hello,

here's a patch that makes sure that that the switch condition  
expression has an integer type, and also that a switch doesn't have  
more than one default: label.

Anders

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: textmate stdin 2NXjY6.txt
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20070717/cf624ed0/attachment.txt>


More information about the cfe-dev mailing list