commit | da55074866ca2fe7f718c5d3334648d6e340fb15 | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Sat May 07 22:06:45 2011 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Sat May 07 22:06:45 2011 +0000 |
tree | aef4e95b1097d07fc114db78c6705d23f07f7d05 | |
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