summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/StmtPrinter.cpp
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2010-11-15 23:31:06 +0000
committerJohn McCall <rjmccall@apple.com>2010-11-15 23:31:06 +0000
commit8d69a2160e48b73a4515c9401e67971fb8c14e07 (patch)
tree14900bed496fd53f87c2014dc13c3c68ea2fac6a /clang/lib/AST/StmtPrinter.cpp
parent24f6742b345165960ae7cd6a6a838f56d92bc595 (diff)
downloadbcm5719-llvm-8d69a2160e48b73a4515c9401e67971fb8c14e07.tar.gz
bcm5719-llvm-8d69a2160e48b73a4515c9401e67971fb8c14e07.zip
Add a new expression kind, OpaqueValueExpr, which is useful for
certain internal type-checking procedures as well as for representing certain implicitly-generated operations. Uses to follow. llvm-svn: 119289
Diffstat (limited to 'clang/lib/AST/StmtPrinter.cpp')
-rw-r--r--clang/lib/AST/StmtPrinter.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/lib/AST/StmtPrinter.cpp b/clang/lib/AST/StmtPrinter.cpp
index 270c9e1d1dd..d4791bcd0ec 100644
--- a/clang/lib/AST/StmtPrinter.cpp
+++ b/clang/lib/AST/StmtPrinter.cpp
@@ -1335,6 +1335,9 @@ void StmtPrinter::VisitBlockExpr(BlockExpr *Node) {
void StmtPrinter::VisitBlockDeclRefExpr(BlockDeclRefExpr *Node) {
OS << Node->getDecl();
}
+
+void StmtPrinter::VisitOpaqueValueExpr(OpaqueValueExpr *Node) {}
+
//===----------------------------------------------------------------------===//
// Stmt method implementations
//===----------------------------------------------------------------------===//
OpenPOWER on IntegriCloud