summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGExpr.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-02-02 04:43:11 +0000
committerChris Lattner <sabre@nondot.org>2008-02-02 04:43:11 +0000
commit495737830441e3e01ed2699eb9e38c8f15116cb5 (patch)
tree8fe00ec94930653a2aa052dc81bf00359d61914a /lib/CodeGen/CGExpr.cpp
parent49c1f4aa2a6c360d25d605004ec3c4affd62db77 (diff)
downloadclang-495737830441e3e01ed2699eb9e38c8f15116cb5.tar.gz
clang-495737830441e3e01ed2699eb9e38c8f15116cb5.tar.bz2
clang-495737830441e3e01ed2699eb9e38c8f15116cb5.tar.xz
fix codegen on static variables which have multiple decl nodes. These
should be merged just like normal globals. This fixes this testcase that Anders provided: static struct s a; static struct s *ap1 = &a; static struct s a = { 10 }; git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@46661 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExpr.cpp')
0 files changed, 0 insertions, 0 deletions