]> granicus.if.org Git - clang/commit
Make skipping of vardecls more precise: it's ok to skip a decl if the entire
authorChris Lattner <sabre@nondot.org>
Mon, 28 Feb 2011 07:22:44 +0000 (07:22 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 28 Feb 2011 07:22:44 +0000 (07:22 +0000)
commit3f06e274736eab9821ce0dc2bd8e166fe0e3aa7e
treea878cd393e7d4cc3fd440c99849b582962ba14fb
parent9467110fcef8a3e4caf9e5d022cff0322afe6e8b
Make skipping of vardecls more precise: it's ok to skip a decl if the entire
compound stmt containing the decl is skipped.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@126639 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGStmt.cpp
test/CodeGen/switch-dce.c