]> granicus.if.org Git - clang/commit
PR12571: Objects of type clang::ConstantArrayType aren't always emitted with
authorRichard Smith <richard-llvm@metafoo.co.uk>
Sun, 22 Apr 2012 05:51:36 +0000 (05:51 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Sun, 22 Apr 2012 05:51:36 +0000 (05:51 +0000)
commit1664d540d1524f0faffd2f839fccb56178975c60
treec0b092e0317e16743510727d7a57ffbeef2f1247
parenta77e0726341a4afbe9c25b05cf944edf17f64543
PR12571: Objects of type clang::ConstantArrayType aren't always emitted with
type llvm::ArrayType -- sometimes we emit them as packed structs. Don't assert
if such a global array has an element type with a non-trivial destructor.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@155305 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CodeGenFunction.cpp
test/CodeGenCXX/global-array-destruction.cpp