summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGExpr.cpp
diff options
context:
space:
mode:
authorHans Wennborg <hans@hanshq.net>2013-11-21 00:15:56 +0000
committerHans Wennborg <hans@hanshq.net>2013-11-21 00:15:56 +0000
commit764653b3e36c52e160d7dd610d75ad2e3c5bba7f (patch)
tree6bf25b3fb9c2c433c9e5ac1c431424911a87bf27 /lib/CodeGen/CGExpr.cpp
parenta26506daa409cb2eeb36c330569336e8c9ba227b (diff)
downloadclang-764653b3e36c52e160d7dd610d75ad2e3c5bba7f.tar.gz
clang-764653b3e36c52e160d7dd610d75ad2e3c5bba7f.tar.bz2
clang-764653b3e36c52e160d7dd610d75ad2e3c5bba7f.tar.xz
[-cxx-abi microsoft] Emit linkonce_odr definitions for declarations of static data members with inline initializers (PR17689)
This makes Clang emit a linkonce_odr definition for 'val' in the code below, to be compatible with MSVC-compiled code: struct Foo { static const int val = 1; }; Differential Revision: http://llvm-reviews.chandlerc.com/D2233 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@195283 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExpr.cpp')
0 files changed, 0 insertions, 0 deletions