From: John McCall Date: Tue, 2 Feb 2010 19:03:45 +0000 (+0000) Subject: Dump the constructor type for a CXXConstructExpr. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d4bbdfebe9bd13defa977a934bf73fc2ce3b2817;p=clang Dump the constructor type for a CXXConstructExpr. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@95106 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/AST/StmtDumper.cpp b/lib/AST/StmtDumper.cpp index ae76526b79..ba6218be14 100644 --- a/lib/AST/StmtDumper.cpp +++ b/lib/AST/StmtDumper.cpp @@ -472,6 +472,8 @@ void StmtDumper::VisitCXXFunctionalCastExpr(CXXFunctionalCastExpr *Node) { void StmtDumper::VisitCXXConstructExpr(CXXConstructExpr *Node) { DumpExpr(Node); + CXXConstructorDecl *Ctor = Node->getConstructor(); + DumpType(Ctor->getType()); if (Node->isElidable()) OS << " elidable"; }