diff options
author | Chris Lattner <sabre@nondot.org> | 2010-04-13 17:34:23 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-04-13 17:34:23 +0000 |
commit | a06794201d24d0bbfe797f073325fee42d1a729c (patch) | |
tree | 92d8a1baa354027357c040c93c4ae6fa3329fc05 /clang/lib/CodeGen | |
parent | 8d269dc329e2f76670cc9a33ecdad76c69f83c7d (diff) | |
download | bcm5719-llvm-a06794201d24d0bbfe797f073325fee42d1a729c.tar.gz bcm5719-llvm-a06794201d24d0bbfe797f073325fee42d1a729c.zip |
Teach HasSideEffect about InitListExprs. Not having
this caused us to codegen dead globals like this:
struct foo { int a; int b; };
static struct foo fooarray[] = {
{1, 2},
{4},
};
llvm-svn: 101150
Diffstat (limited to 'clang/lib/CodeGen')
0 files changed, 0 insertions, 0 deletions