diff options
author | John Hodge <tpg@mutabah.net> | 2016-10-09 10:27:50 +0800 |
---|---|---|
committer | John Hodge <tpg@mutabah.net> | 2016-10-09 10:27:50 +0800 |
commit | 967ccfbfd50e0ce0aec985bcb394e34787450f75 (patch) | |
tree | 7bddc5c13047aa7b0f12247edb4a8ca965f657d6 /src/include | |
parent | 5d75ae0b19803ee79d191cd985b5e8896df51ccb (diff) | |
download | mrust-967ccfbfd50e0ce0aec985bcb394e34787450f75.tar.gz |
AST - Remove free MacroInvocation lists
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/synext_decorator.hpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/include/synext_decorator.hpp b/src/include/synext_decorator.hpp index 2be7924d..0404889f 100644 --- a/src/include/synext_decorator.hpp +++ b/src/include/synext_decorator.hpp @@ -21,14 +21,11 @@ namespace AST { class Module; class Item; - class UseStmt; class Expr; class ExprNode; struct ExprNode_Match_Arm; - class MacroInvocation; - class ImplDef; } @@ -45,8 +42,6 @@ public: virtual AttrStage stage() const = 0; virtual void handle(const Span& sp, const AST::MetaItem& mi, AST::Crate& crate) const { unexpected(sp, mi, "crate"); } - virtual void handle(const Span& sp, const AST::MetaItem& mi, AST::Crate& crate, AST::MacroInvocation& mac) const { unexpected(sp, mi, "macro invocation"); } - virtual void handle(const Span& sp, const AST::MetaItem& mi, AST::Crate& crate, AST::UseStmt& use) const { unexpected(sp, mi, "use statement"); } virtual void handle(const Span& sp, const AST::MetaItem& mi, AST::Crate& crate, const AST::Path& path, AST::Module& mod, AST::Item&i) const { unexpected(sp, mi, "item"); } // NOTE: To delete, set the type to `_` virtual void handle(const Span& sp, const AST::MetaItem& mi, AST::Crate& crate, const AST::Module& mod, AST::ImplDef& impl) const { unexpected(sp, mi, "impl"); } |