mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-26 14:11:18 +00:00
Switch Declaration to use inheritance+cast (#714)
This commit is contained in:
1 parent
7c03858b55
commit
c1148caf7d
11 files changed
+206
-202
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<const Carbon::Declaration*>;
|
||||
}
|
||||
|
||||
#endif // EXECUTABLE_SEMANTICS_AST_ABSTRACT_SYNTAX_TREE_H_
|
||||
Reference in new issue
Block a user