diff options
author | John McCall <rjmccall@apple.com> | 2010-08-07 06:38:55 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2010-08-07 06:38:55 +0000 |
commit | f8cf0b028c7a5b632c3a711813cd44a9d9642537 (patch) | |
tree | d8abd0c82598e836c6fc5be32f85d921fd0173e1 /lib | |
parent | f871d0cc377a1367b519a6cce26be74607566eba (diff) |
Note that a CXXConstructExpr is zeroing when dumping it.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@110510 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/AST/StmtDumper.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/AST/StmtDumper.cpp b/lib/AST/StmtDumper.cpp index f8f149541e..cfd659cecb 100644 --- a/lib/AST/StmtDumper.cpp +++ b/lib/AST/StmtDumper.cpp @@ -519,6 +519,8 @@ void StmtDumper::VisitCXXConstructExpr(CXXConstructExpr *Node) { DumpType(Ctor->getType()); if (Node->isElidable()) OS << " elidable"; + if (Node->requiresZeroInitialization()) + OS << " zeroing"; } void StmtDumper::VisitCXXBindTemporaryExpr(CXXBindTemporaryExpr *Node) { |