[cfe-commits] r95106 - /cfe/trunk/lib/AST/StmtDumper.cpp

John McCall rjmccall at apple.com
Tue Feb 2 11:03:46 PST 2010


Author: rjmccall
Date: Tue Feb  2 13:03:45 2010
New Revision: 95106

URL: http://llvm.org/viewvc/llvm-project?rev=95106&view=rev
Log:
Dump the constructor type for a CXXConstructExpr.


Modified:
    cfe/trunk/lib/AST/StmtDumper.cpp

Modified: cfe/trunk/lib/AST/StmtDumper.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/AST/StmtDumper.cpp?rev=95106&r1=95105&r2=95106&view=diff

==============================================================================
--- cfe/trunk/lib/AST/StmtDumper.cpp (original)
+++ cfe/trunk/lib/AST/StmtDumper.cpp Tue Feb  2 13:03:45 2010
@@ -472,6 +472,8 @@
 
 void StmtDumper::VisitCXXConstructExpr(CXXConstructExpr *Node) {
   DumpExpr(Node);
+  CXXConstructorDecl *Ctor = Node->getConstructor();
+  DumpType(Ctor->getType());
   if (Node->isElidable())
     OS << " elidable";
 }





More information about the cfe-commits mailing list