From a3539302cd0b144eeec4aa5113c0d479ac96f2d5 Mon Sep 17 00:00:00 2001 From: Thomas Young Date: Fri, 28 May 2021 17:04:31 +0800 Subject: Reusing AST::Attribute and removing HIR::Attribute. Introducing AttrVec type to replace std::vector. --- gcc/rust/analysis/rust-hir-liveness-base.h | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'gcc/rust/analysis') diff --git a/gcc/rust/analysis/rust-hir-liveness-base.h b/gcc/rust/analysis/rust-hir-liveness-base.h index 483b9c9..1a58f1a 100644 --- a/gcc/rust/analysis/rust-hir-liveness-base.h +++ b/gcc/rust/analysis/rust-hir-liveness-base.h @@ -33,8 +33,6 @@ class LivenessBase : public HIR::HIRVisitor public: virtual ~LivenessBase () {} virtual void visit (HIR::Token &) override {} - virtual void visit (HIR::DelimTokenTree &) override {} - virtual void visit (HIR::AttrInputMetaItemContainer &) override {} virtual void visit (HIR::IdentifierExpr &) override {} virtual void visit (HIR::Lifetime &) override {} virtual void visit (HIR::LifetimeParam &) override {} @@ -47,9 +45,6 @@ public: virtual void visit (HIR::QualifiedPathInType &) override {} virtual void visit (HIR::LiteralExpr &) override {} - virtual void visit (HIR::AttrInputLiteral &) override {} - virtual void visit (HIR::MetaItemLitExpr &) override {} - virtual void visit (HIR::MetaItemPathLit &) override {} virtual void visit (HIR::BorrowExpr &) override {} virtual void visit (HIR::DereferenceExpr &) override {} virtual void visit (HIR::ErrorPropagationExpr &) override {} @@ -161,12 +156,6 @@ public: virtual void visit (HIR::MacroMatcher &) override {} virtual void visit (HIR::MacroRulesDefinition &) override {} virtual void visit (HIR::MacroInvocation &) override {} - virtual void visit (HIR::MetaItemPath &) override {} - virtual void visit (HIR::MetaItemSeq &) override {} - virtual void visit (HIR::MetaWord &) override {} - virtual void visit (HIR::MetaNameValueStr &) override {} - virtual void visit (HIR::MetaListPaths &) override {} - virtual void visit (HIR::MetaListNameValueStr &) override {} virtual void visit (HIR::LiteralPattern &) override {} virtual void visit (HIR::IdentifierPattern &) override {} -- cgit v1.1