mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-05 22:02:55 +01:00
Switch Declaration to use inheritance+cast (#714)
This commit is contained in:
@@ -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