]> granicus.if.org Git - clang/commit
When synthesizing an implicitly-defined copy or move constructor, or
authorDouglas Gregor <dgregor@apple.com>
Mon, 28 Nov 2011 20:03:15 +0000 (20:03 +0000)
committerDouglas Gregor <dgregor@apple.com>
Mon, 28 Nov 2011 20:03:15 +0000 (20:03 +0000)
commitf48538897ccd6726e87485267495a62fdfd0b369
treee4cad9d747cb90ea50c1e5c84619657893157125
parent855746bfab1a3d4cb951d5a396fcb1ff53ee7562
When synthesizing an implicitly-defined copy or move constructor, or
when computing the exception specification of a copy or move constructor,
ignore non-static data member initializers. Fixes PR11418 /
<rdar://problem/10478642>.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@145269 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaDeclCXX.cpp
test/CXX/special/class.copy/p15-0x.cpp
test/CXX/special/class.copy/p15-inclass.cpp [new file with mode: 0644]