Migrate declaration parsing to value semantics (#614)

* Use Expression by value in FunctionDefinition
* Migrate choice declarations to value semantics
* Migrate Declaration parsing to value semantics
This commit is contained in:
Geoff Romer authored and GitHub committed 2021-06-30 13:09:12 -07:00
1 parent 7e70a0335e
commit fa5b9cd553
9 files changed
+90 -81

No files matched your search

@@ -10,7 +10,7 @@
#include "executable_semantics/ast/declaration.h"
namespace Carbon {
using AST = std::list<Carbon::Declaration>*;
using AST = std::list<Carbon::Declaration>;
}
#endif // EXECUTABLE_SEMANTICS_AST_ABSTRACT_SYNTAX_TREE_H_