]> granicus.if.org Git - clang/commit
Fix PR 28885: Fix AST Printer output for the inherited constructor using
authorAlex Lorenz <arphaman@gmail.com>
Mon, 3 Oct 2016 12:12:03 +0000 (12:12 +0000)
committerAlex Lorenz <arphaman@gmail.com>
Mon, 3 Oct 2016 12:12:03 +0000 (12:12 +0000)
commite894d1642cd56332998c9943f827a28d305ae6d9
tree4f75298f8d2446462f7237090711ab66ff610c9a
parentcd374e5edd1a4d38428f3da431a7c436818832f8
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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@283102 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AST/DeclPrinter.cpp
test/SemaCXX/cxx11-ast-print.cpp