mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-05 20:42:01 +01:00
Change Declaration passing to use Ptr (#758)
This commit is contained in:
@@ -8,9 +8,10 @@
|
||||
#include <variant>
|
||||
|
||||
#include "executable_semantics/ast/declaration.h"
|
||||
#include "executable_semantics/common/ptr.h"
|
||||
|
||||
namespace Carbon {
|
||||
using AST = std::list<const Carbon::Declaration*>;
|
||||
using AST = std::list<Ptr<const Declaration>>;
|
||||
}
|
||||
|
||||
#endif // EXECUTABLE_SEMANTICS_AST_ABSTRACT_SYNTAX_TREE_H_
|
||||
|
||||
Reference in New Issue
Block a user