Don't forget to run destructors when we create an array temporary of class type.
authorRichard Smith <richard-llvm@metafoo.co.uk>
Sat, 2 Feb 2013 01:13:06 +0000 (01:13 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Sat, 2 Feb 2013 01:13:06 +0000 (01:13 +0000)
commitd712d0dbddcd97e979b813158fe42fc3a351e460
tree6605ed5fb67df9e920c6ef5adeabfcff13d032ef
parentf5209c4b459d3fc21a6bdfff7534ee6a8762b11a
Don't forget to run destructors when we create an array temporary of class type.

llvm-svn: 174257
clang/lib/CodeGen/CGExpr.cpp
clang/lib/Sema/SemaInit.cpp
clang/test/CodeGenCXX/cxx0x-initializer-array.cpp
clang/test/CodeGenCXX/global-array-destruction.cpp