summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/StmtPrinter.cpp
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@mac.com>2010-01-29 02:39:32 +0000
committerAnders Carlsson <andersca@mac.com>2010-01-29 02:39:32 +0000
commitba6c437d52b226f80d04dd15062965b6b7daeb59 (patch)
tree3d0ef23d96548fd704d385831a234cf8f573803d /clang/lib/AST/StmtPrinter.cpp
parent176f7d6ef05b0cbaa29e8ee97585fa29ccf86b4d (diff)
downloadbcm5719-llvm-ba6c437d52b226f80d04dd15062965b6b7daeb59.tar.gz
bcm5719-llvm-ba6c437d52b226f80d04dd15062965b6b7daeb59.zip
Add an CXXBindReferenceExpr (not used just yet).
llvm-svn: 94791
Diffstat (limited to 'clang/lib/AST/StmtPrinter.cpp')
-rw-r--r--clang/lib/AST/StmtPrinter.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/lib/AST/StmtPrinter.cpp b/clang/lib/AST/StmtPrinter.cpp
index bbb904de79b..3ae306d3c7a 100644
--- a/clang/lib/AST/StmtPrinter.cpp
+++ b/clang/lib/AST/StmtPrinter.cpp
@@ -1038,6 +1038,10 @@ void StmtPrinter::VisitCXXBindTemporaryExpr(CXXBindTemporaryExpr *Node) {
PrintExpr(Node->getSubExpr());
}
+void StmtPrinter::VisitCXXBindReferenceExpr(CXXBindReferenceExpr *Node) {
+ PrintExpr(Node->getSubExpr());
+}
+
void StmtPrinter::VisitCXXTemporaryObjectExpr(CXXTemporaryObjectExpr *Node) {
OS << Node->getType().getAsString();
OS << "(";
OpenPOWER on IntegriCloud