]> granicus.if.org Git - clang/commit
If the element type of an initializer list has a destructor, make sure we check it...
authorSebastian Redl <sebastian.redl@getdesigned.at>
Mon, 5 Mar 2012 19:35:43 +0000 (19:35 +0000)
committerSebastian Redl <sebastian.redl@getdesigned.at>
Mon, 5 Mar 2012 19:35:43 +0000 (19:35 +0000)
commit2835745a451002798fed9800aeb19277f6a8fcb3
tree4df2d4e14933a851d5996829205bcb512199a73b
parentabf9d908cce6ffe2ee7b739d98fc7344a4f9fe3b
If the element type of an initializer list has a destructor, make sure we check it. Fixes PR12178.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@152048 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaExprCXX.cpp
lib/Sema/SemaInit.cpp
test/CodeGenCXX/cxx0x-initializer-stdinitializerlist.cpp