diff options
author | Douglas Gregor <dgregor@apple.com> | 2011-05-07 22:06:45 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2011-05-07 22:06:45 +0000 |
commit | da55074866ca2fe7f718c5d3334648d6e340fb15 (patch) | |
tree | aef4e95b1097d07fc114db78c6705d23f07f7d05 /lib/CodeGen/CGClass.cpp | |
parent | 6f0877744517fa1daf3ac9d2e5c63c9acfcfa562 (diff) |
In C++, allow us to emit a global as 'constant' even if it has class
type, so long as it is known to have a constant initializer and the
class type is a POD class. Fixes <rdar://problem/9306265>.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@131060 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGClass.cpp')
0 files changed, 0 insertions, 0 deletions