HomePhabricator

Add support for derived class special members hiding functions brought in from…

Authored by Richard Smith <richard-llvm@metafoo.co.uk> on May 12 2016, 11:47 PM.

Description

Add support for derived class special members hiding functions brought in from a base class via a using-declaration. If a class has a using-declaration declaring either a constructor or an assignment operator, eagerly declare its special members in case they need to displace a shadow declaration from a using-declaration.

llvm-svn: 269398

Details

Committed
Richard Smith <richard-llvm@metafoo.co.uk>May 12 2016, 11:47 PM
Parents
rG845d0d74bafd: Extend this test to also be valid in C++14.
Branches
Unknown
Tags
Unknown

Event Timeline

Richard Smith <richard-llvm@metafoo.co.uk> committed rG12e7931d0b49: Add support for derived class special members hiding functions brought in from… (authored by Richard Smith <richard-llvm@metafoo.co.uk>).May 12 2016, 11:47 PM