aboutsummaryrefslogtreecommitdiffstats
path: root/frontends/ast
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2018-08-15 14:05:38 +0200
committerGitHub <noreply@github.com>2018-08-15 14:05:38 +0200
commit67b10262975340e0b53f8d1072ac2e1c1f087fb1 (patch)
treec10a6e56f6f5b61ce3fbff7c165207cc40d704c8 /frontends/ast
parentd8e40c75eb96e7f3c995b2acd018b5cba6005cdd (diff)
parent3aa4484a3cd9a2e82fddd499cde575eaf8c565cc (diff)
downloadyosys-67b10262975340e0b53f8d1072ac2e1c1f087fb1.tar.gz
yosys-67b10262975340e0b53f8d1072ac2e1c1f087fb1.tar.bz2
yosys-67b10262975340e0b53f8d1072ac2e1c1f087fb1.zip
Merge pull request #591 from hzeller/virtual-override
Consistent use of 'override' for virtual methods in derived classes.
Diffstat (limited to 'frontends/ast')
-rw-r--r--frontends/ast/ast.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/frontends/ast/ast.h b/frontends/ast/ast.h
index 2f9967c37..d94199643 100644
--- a/frontends/ast/ast.h
+++ b/frontends/ast/ast.h
@@ -1,4 +1,4 @@
-/*
+/* -*- c++ -*-
* yosys -- Yosys Open SYnthesis Suite
*
* Copyright (C) 2012 Clifford Wolf <clifford@clifford.at>
@@ -282,9 +282,9 @@ namespace AST
struct AstModule : RTLIL::Module {
AstNode *ast;
bool nolatches, nomeminit, nomem2reg, mem2reg, lib, noopt, icells, autowire;
- virtual ~AstModule();
- virtual RTLIL::IdString derive(RTLIL::Design *design, dict<RTLIL::IdString, RTLIL::Const> parameters, bool mayfail);
- virtual RTLIL::Module *clone() const;
+ ~AstModule() YS_OVERRIDE;
+ RTLIL::IdString derive(RTLIL::Design *design, dict<RTLIL::IdString, RTLIL::Const> parameters, bool mayfail) YS_OVERRIDE;
+ RTLIL::Module *clone() const YS_OVERRIDE;
};
// this must be set by the language frontend before parsing the sources