Skip to content
Commit a0679420 authored by Chris Lattner's avatar Chris Lattner
Browse files

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
parent 8d269dc3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment