]> granicus.if.org Git - clang/commit
The presence of a user-*declared* constructor makes the default
authorDouglas Gregor <dgregor@apple.com>
Thu, 30 Aug 2012 21:47:37 +0000 (21:47 +0000)
committerDouglas Gregor <dgregor@apple.com>
Thu, 30 Aug 2012 21:47:37 +0000 (21:47 +0000)
commitccc4f283cf0e892e19a097a2aa4ec4491682b15f
treefff6d8001f27e663dfb21f8a2245d8afa26a751e
parentbefc0f648c83f65e1f3567f2058c7c18b4bc3ad8
The presence of a user-*declared* constructor makes the default
constructor not user provided (and, therefore, non-trivial). Fixes
<rdar://problem/11736429>.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@162947 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaDecl.cpp
test/SemaCXX/cxx98-compat.cpp