diff options
author | David Majnemer <david.majnemer@gmail.com> | 2015-02-19 19:25:17 +0000 |
---|---|---|
committer | David Majnemer <david.majnemer@gmail.com> | 2015-02-19 19:25:17 +0000 |
commit | c9a9c7a67344fc50c80cfc2cd78f4b1666a7483f (patch) | |
tree | d0b2e2ff6fd6e298eca104991e58c8f7495d5585 /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | 57ac766ee995d717dc032ba35c9100bc7aa77652 (diff) | |
download | bcm5719-llvm-c9a9c7a67344fc50c80cfc2cd78f4b1666a7483f.tar.gz bcm5719-llvm-c9a9c7a67344fc50c80cfc2cd78f4b1666a7483f.zip |
CodeGen: static constexpr data members should have a linkonce_odr init
Classes can be defined in multiple translation units. This means that
the static constexpr data members should have identical initializers in
all translation units. Implement this by giving the reference temporary
linkonce_odr linkage.
llvm-svn: 229900
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions