Douglas Gregor 630c76efb0 When performing value-initialization for a class with a non-trivial,
implicitly-defined default constructor, zero-initialize the memory
before calling the default constructor. Previously, we would only
zero-initialize in the case of a trivial default constructor.

Also, simplify the hideous logic that determines when we have a
trivial default constructor and, therefore, don't need to emit any
call at all.

llvm-svn: 111779
2010-08-22 16:15:35 +00:00
2010-08-22 13:53:14 +00:00
2010-08-21 20:19:51 +00:00
Description
No description provided
5.3 GiB
Languages
LLVM 41.4%
C++ 31.4%
C 13%
Assembly 9.6%
MLIR 1.5%
Other 2.7%