aboutsummaryrefslogtreecommitdiff
path: root/Analysis/ExplodedGraph.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-01-16 19:17:22 +0000
committerChris Lattner <sabre@nondot.org>2008-01-16 19:17:22 +0000
commit1e0a39012467b4f409142c32148036a9ee05e1d7 (patch)
tree97a3d17d873b912ad755b7792f2f6cbc3fc88b64 /Analysis/ExplodedGraph.cpp
parent20dabe8b8ff7ed6d2d0158fee43755a4bc7642c3 (diff)
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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@46083 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Analysis/ExplodedGraph.cpp')
0 files changed, 0 insertions, 0 deletions