Fix PR 28885: Fix AST Printer output for the inherited constructor using
authorAlex Lorenz <arphaman@gmail.com>
Mon, 3 Oct 2016 12:22:17 +0000 (12:22 +0000)
committerAlex Lorenz <arphaman@gmail.com>
Mon, 3 Oct 2016 12:22:17 +0000 (12:22 +0000)
commitea9b59a33de1999ae8b56734d2af05deff687bb9
tree39097496ac719fb6a84491a00b9c1f650fdca8ed
parent4ff920bf1b67f58397520aa22aeefa015b145d13
Fix PR 28885: Fix AST Printer output for the inherited constructor using
declarations.

This commit ensures that the correct record type is printed out for the
using declarations that represent C++ inherited constructors.
It fixes a regression introduced in r274049 which changed the name that's
stored in the using declarations that correspond to inherited constructors.

Differential Revision: https://reviews.llvm.org/D25131

llvm-svn: 283105
clang/lib/AST/DeclPrinter.cpp
clang/test/SemaCXX/cxx11-ast-print.cpp