Commit Graph

3 Commits

Author SHA1 Message Date
Harlan Haskins
9732442628 [Syntax] Remove LegacyASTTransformer
As it is no longer ever instantiated, and since Syntax nodes are being
plumbed through the parser, the LegacyASTTransformer no longer needs to
exist.
2017-11-29 17:51:57 -05:00
Shoaib Meenai
a7548e68ac [AST] Drop unnecessary friend declaration
Summary:
The friend declaration wasn't qualified (it should have included the
namespace, i.e. `syntax::LegacyASTTransformer`). The effect was instead
to declare a `LegacyASTTransformer` inside the `swift` namespace, which
would then trip up Windows compilation because of non-conforming
two-phase lookup. The implication is that the friend declaration is
actually unneeded, since the incorrect declaration wasn't causing any
other problems, so we can just drop it.
2017-10-16 17:16:36 -07:00
Harlan
b9f468e79a [NFC] Remove Syntax's dependency on Sema (#10984)
* Move LegacyASTTransformer and SyntaxASTMapping to AST

* Fix import in swift-syntax-format

* Update swift-syntax-test
2017-07-18 16:58:18 -07:00