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";
 }


_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to