summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-04-13 17:34:23 +0000
committerChris Lattner <sabre@nondot.org>2010-04-13 17:34:23 +0000
commita06794201d24d0bbfe797f073325fee42d1a729c (patch)
tree92d8a1baa354027357c040c93c4ae6fa3329fc05 /clang/lib/CodeGen/CodeGenModule.cpp
parent8d269dc329e2f76670cc9a33ecdad76c69f83c7d (diff)
downloadbcm5719-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/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud