]> granicus.if.org Git - clang/commit
When we attempt to create a temporary object of class type, be sure
authorDouglas Gregor <dgregor@apple.com>
Sat, 24 Apr 2010 21:09:25 +0000 (21:09 +0000)
committerDouglas Gregor <dgregor@apple.com>
Sat, 24 Apr 2010 21:09:25 +0000 (21:09 +0000)
commitf86fcb341116e72c5497e6b57695f46eca5f29e9
treeb5b71795cbb6ef9a270172a53d91bade7b5c443e
parent34a2d384c745ebc39cae45dc1c0c4a6a7012e09b
When we attempt to create a temporary object of class type, be sure
that the type we're copying is complete.

Boost.Regex now builds, although it's failing its regression tests
with our favorite "Sema doesn't consider destructor as used."
assertion.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@102271 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticSemaKinds.td
lib/Sema/SemaInit.cpp
test/SemaTemplate/instantiate-complete.cpp