aboutsummaryrefslogtreecommitdiff
path: root/lib/AST/StmtPrinter.cpp
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@mac.com>2009-04-21 02:22:11 +0000
committerAnders Carlsson <andersca@mac.com>2009-04-21 02:22:11 +0000
commit19d28a650ca6d98f7907ad891557fccca7baaea8 (patch)
tree6225ec55752a0230d67108cbaf76c967f38be973 /lib/AST/StmtPrinter.cpp
parent4bc11af9bed1d4a247e3db1fcb754d410ad99099 (diff)
Add a CXXDestroyExpr. Add classof member functions to CXXTempVarDecl.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69654 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AST/StmtPrinter.cpp')
-rw-r--r--lib/AST/StmtPrinter.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/AST/StmtPrinter.cpp b/lib/AST/StmtPrinter.cpp
index 7f9c4cc8fb..888c15ad24 100644
--- a/lib/AST/StmtPrinter.cpp
+++ b/lib/AST/StmtPrinter.cpp
@@ -1097,6 +1097,10 @@ void StmtPrinter::VisitUnresolvedFunctionNameExpr(UnresolvedFunctionNameExpr *E)
OS << E->getName().getAsString();
}
+void StmtPrinter::VisitCXXDestroyExpr(CXXDestroyExpr *E) {
+ // Nothing to print.
+}
+
static const char *getTypeTraitName(UnaryTypeTrait UTT) {
switch (UTT) {
default: assert(false && "Unknown type trait");