commit | 363ff23cfddb51abe4ee4212a6dd3c9b534fcc8b | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Tue Apr 13 17:34:23 2010 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Tue Apr 13 17:34:23 2010 +0000 |
tree | e2e545cd763c9f17e2705590a7cdc04aa4538df8 | |
parent | 553e583e1d30fe30ac2de3526536bbebee6da1ce [diff] |
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}, }; git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@101150 91177308-0d34-0410-b5e6-96231b3b80d8