[Syntax] Disallow invalid Node operations
Copy/move break invariants (move could be fixed). Node/Tree should have no public constructors, they're abstract. Destructor is private to enforce arena allocation. (Making the constructor of all subclasses private doesn't seem worthwhile) Differential Revision: https://reviews.llvm.org/D90163
Loading
Please sign in to comment