]> granicus.if.org Git - clang/commit
constexpr: perform zero-initialization prior to / instead of performing a
authorRichard Smith <richard-llvm@metafoo.co.uk>
Sun, 25 Dec 2011 20:00:17 +0000 (20:00 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Sun, 25 Dec 2011 20:00:17 +0000 (20:00 +0000)
commiteba05b2e396e1474f7bd6e8e8e1bd7752effef4d
tree84bb8feaaebede1ff2c5a9ff768c43df2c495927
parent19b4a714de8841aed2727031674597f7efb62ce2
constexpr: perform zero-initialization prior to / instead of performing a
constructor call when appropriate. Thanks to Eli for spotting this.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@147271 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AST/ExprConstant.cpp
lib/AST/Type.cpp
test/CXX/expr/expr.const/p2-0x.cpp
test/CXX/special/class.ctor/p6-0x.cpp
test/CodeGenCXX/value-init.cpp
test/SemaCXX/constexpr-printing.cpp
test/SemaCXX/constexpr-value-init.cpp [new file with mode: 0644]
test/SemaObjCXX/arc-type-traits.mm