mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-16 01:18:14 +00:00
Define a base class for all AST nodes. (#947)
Also implement code-generation to manage the resulting boilerplate.
This commit is contained in:
1 parent
d854fb93cb
commit
7a5b8434c8
24 files changed
+965
-543
No files matched your search
@@ -0,0 +1,11 @@
|
||||
// Part of the Carbon Language project, under the Apache License v2.0 with LLVM
|
||||
// Exceptions. See /LICENSE for license information.
|
||||
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
||||
|
||||
#include "executable_semantics/ast/ast_node.h"
|
||||
|
||||
namespace Carbon {
|
||||
|
||||
AstNode::~AstNode() = default;
|
||||
|
||||
} // namespace Carbon
|
||||
Reference in new issue
Block a user