diff options
| author | Douglas Gregor <dgregor@apple.com> | 2009-12-16 18:50:27 +0000 |
|---|---|---|
| committer | Douglas Gregor <dgregor@apple.com> | 2009-12-16 18:50:27 +0000 |
| commit | 16006c901315fa12a108b4e571f187f4b676e426 (patch) | |
| tree | 0a429cf4eeeadf701786ee980d6f47d55bccb0ac /lib/CodeGen/CGExpr.cpp | |
| parent | 79433b59915859126a774fcd09fa32d7d5a1a3ef (diff) | |
| download | clang-16006c901315fa12a108b4e571f187f4b676e426.tar.gz clang-16006c901315fa12a108b4e571f187f4b676e426.tar.bz2 clang-16006c901315fa12a108b4e571f187f4b676e426.tar.xz | |
When value-initializing a class with no user-defined constructors but
with a non-trivial default constructor, zero-initialize the storage
and then call the default constructor. Fixes PR5800.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91548 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExpr.cpp')
0 files changed, 0 insertions, 0 deletions
