r229428 - Enhance printing SizeOfPackExpr in dump.
Serge Pavlov
sepavloff at gmail.com
Mon Feb 16 11:58:41 PST 2015
Author: sepavloff
Date: Mon Feb 16 13:58:41 2015
New Revision: 229428
URL: http://llvm.org/viewvc/llvm-project?rev=229428&view=rev
Log:
Enhance printing SizeOfPackExpr in dump.
Modified:
cfe/trunk/lib/AST/ASTDumper.cpp
Modified: cfe/trunk/lib/AST/ASTDumper.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/AST/ASTDumper.cpp?rev=229428&r1=229427&r2=229428&view=diff
==============================================================================
--- cfe/trunk/lib/AST/ASTDumper.cpp (original)
+++ cfe/trunk/lib/AST/ASTDumper.cpp Mon Feb 16 13:58:41 2015
@@ -516,6 +516,7 @@ namespace {
VisitExpr(Node);
dumpDecl(Node->getLambdaClass());
}
+ void VisitSizeOfPackExpr(const SizeOfPackExpr *Node);
// ObjC
void VisitObjCAtCatchStmt(const ObjCAtCatchStmt *Node);
@@ -1937,6 +1938,13 @@ void ASTDumper::dumpCXXTemporary(const C
OS << ")";
}
+void ASTDumper::VisitSizeOfPackExpr(const SizeOfPackExpr *Node) {
+ VisitExpr(Node);
+ dumpPointer(Node->getPack());
+ dumpName(Node->getPack());
+}
+
+
//===----------------------------------------------------------------------===//
// Obj-C Expressions
//===----------------------------------------------------------------------===//
More information about the cfe-commits
mailing list