add an AST node to represent explicit closures. Not yet created.

Swift SVN r1154
This commit is contained in:
Chris Lattner
2012-03-03 12:12:57 +00:00
parent a4beb5f68b
commit 6aac93155d
7 changed files with 52 additions and 5 deletions

View File

@@ -590,6 +590,11 @@ public:
printRec(E->getBody());
OS << ')';
}
void visitExplicitClosureExpr(ExplicitClosureExpr *E) {
printCommon(E, "explicit_closure_expr") << '\n';
printRec(E->getBody());
OS << ')';
}
void visitImplicitClosureExpr(ImplicitClosureExpr *E) {
printCommon(E, "implicit_closure_expr") << '\n';
printRec(E->getBody());