Chris Lattner a65e1f3b31 Move promoteExprToType from being a static method in SemaExpr.cpp to being
a method named ImpCastExprToType in Sema.

Use this method to insert implicit casts for case statements from their 
operand type to the condition type of the switch.  This fixes a crash on
test/CodeGen/statements.c, reported by Eli Friedman.

llvm-svn: 46083
2008-01-16 19:17:22 +00:00
..
2007-10-26 17:44:44 +00:00
2007-10-25 22:19:13 +00:00
2007-10-09 20:37:41 +00:00
2007-12-27 20:35:58 +00:00
2008-01-03 06:36:51 +00:00
2007-07-13 20:18:44 +00:00
2007-08-27 05:23:45 +00:00
2007-12-27 20:35:58 +00:00