diff options
author | Hans Wennborg <hans@hanshq.net> | 2013-11-21 00:15:56 +0000 |
---|---|---|
committer | Hans Wennborg <hans@hanshq.net> | 2013-11-21 00:15:56 +0000 |
commit | feedf8515b72343426959fd708460db957c4c285 (patch) | |
tree | cc085a9a8288a3f06e59d3a1c80fbc63814620b7 /llvm/lib/CodeGen/Passes.cpp | |
parent | 9c9d7d14d1b53d4147d9438ab3bc3f13ce23dd43 (diff) | |
download | bcm5719-llvm-feedf8515b72343426959fd708460db957c4c285.tar.gz bcm5719-llvm-feedf8515b72343426959fd708460db957c4c285.zip |
[-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
llvm-svn: 195283
Diffstat (limited to 'llvm/lib/CodeGen/Passes.cpp')
0 files changed, 0 insertions, 0 deletions