Add ASTDumper support for AvailabilityQueryExpr

This patch also moves some static utility methods involving PlatformKind out of Attr.h and into PlatformKind.h.


Swift SVN r21896
This commit is contained in:
Devin Coughlin
2014-09-12 00:13:48 +00:00
parent ef791914a1
commit 5a9ccc5ab2
10 changed files with 99 additions and 47 deletions

View File

@@ -1720,7 +1720,9 @@ public:
OS << ')';
}
void visitAvailabilityQueryExpr(AvailabilityQueryExpr *E) {
assert(false && "Unimplemented");
printCommon(E, "availability_query_expr") << '\n';
E->getQuery()->print(OS, Indent + 2);
OS << ')';
}
};