commit | 516a6bc399f1f4595423e80c9d4bc687f870acd1 | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Mon Mar 08 02:45:10 2010 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Mon Mar 08 02:45:10 2010 +0000 |
tree | 848ac6a7240e4b597359ca5c0bdf8f5736a8ff31 | |
parent | a2762918ecc636c9af207ce2a9ce705edad2a444 [diff] |
In C++98/03, an uninitialized variable that has POD class type will be uninitialized. This seems not to be the case in C++0x, where we still call the (trivial) default constructor for a POD class (!). Previously, we had implemented only the C++0x rules; now we implement both. Fixes PR6536. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@97928 91177308-0d34-0410-b5e6-96231b3b80d8