PR28978: If we need overload resolution for the move constructor of an
authorRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 16 Aug 2016 00:13:47 +0000 (00:13 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 16 Aug 2016 00:13:47 +0000 (00:13 +0000)
commitdd5619feacbc83e0ee14aa3a485e3717bc661b1a
tree66cc4d30254f4e4bb443062536c5b7f3613725a9
parent229d32abfce84782a0122965dff2e7d8d7bcc2c1
PR28978: If we need overload resolution for the move constructor of an
anonymous union member of a class, we need overload resolution for the move
constructor of the class itself too; we can't rely on Sema to do the right
thing for us for anonymous union types.

llvm-svn: 278763
clang/lib/AST/DeclCXX.cpp
clang/test/CXX/special/class.copy/p11.0x.move.cpp