vhdlpp: Minor code cleaning.
This commit is contained in:
parent
652fe378b8
commit
f4238eb563
|
|
@ -305,7 +305,6 @@ class ExpAggregate : public Expression {
|
|||
|
||||
Expression*clone() const;
|
||||
|
||||
const VType*probe_type(Entity*ent, ScopeBase*scope) const;
|
||||
const VType*fit_type(Entity*ent, ScopeBase*scope, const VTypeArray*atype) const;
|
||||
int elaborate_expr(Entity*ent, ScopeBase*scope, const VType*ltype);
|
||||
void write_to_stream(std::ostream&fd) const;
|
||||
|
|
@ -731,7 +730,6 @@ class ExpNameALL : public ExpName {
|
|||
ExpNameALL() : ExpName(perm_string()) { }
|
||||
|
||||
public:
|
||||
int elaborate_lval(Entity*ent, ScopeBase*scope, bool);
|
||||
const VType* probe_type(Entity*ent, ScopeBase*scope) const;
|
||||
void dump(ostream&out, int indent =0) const;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -316,11 +316,6 @@ int ExpName::elaborate_rval(Entity*ent, ScopeBase*scope, const InterfacePort*lva
|
|||
return errors;
|
||||
}
|
||||
|
||||
int ExpNameALL::elaborate_lval(Entity*ent, ScopeBase*scope, bool is_sequ)
|
||||
{
|
||||
return Expression::elaborate_lval(ent, scope, is_sequ);
|
||||
}
|
||||
|
||||
int Expression::elaborate_expr(Entity*, ScopeBase*, const VType*)
|
||||
{
|
||||
cerr << get_fileline() << ": internal error: I don't know how to elaborate expression type=" << typeid(*this).name() << endl;
|
||||
|
|
@ -388,11 +383,6 @@ int ExpUnary::elaborate_expr(Entity*ent, ScopeBase*scope, const VType*ltype)
|
|||
return operand1_->elaborate_expr(ent, scope, ltype);
|
||||
}
|
||||
|
||||
const VType*ExpAggregate::probe_type(Entity*ent, ScopeBase*scope) const
|
||||
{
|
||||
return Expression::probe_type(ent, scope);
|
||||
}
|
||||
|
||||
const VType*ExpAggregate::fit_type(Entity*, ScopeBase*, const VTypeArray*host) const
|
||||
{
|
||||
ivl_assert(*this, elements_.size() == 1);
|
||||
|
|
|
|||
|
|
@ -297,7 +297,8 @@ class ReportStmt : public SequentialStmt {
|
|||
|
||||
class AssertStmt : public ReportStmt {
|
||||
public:
|
||||
AssertStmt(Expression*condition, const char*message, ReportStmt::severity_t severity = ReportStmt::ERROR);
|
||||
AssertStmt(Expression*condition, const char*message,
|
||||
ReportStmt::severity_t severity = ReportStmt::ERROR);
|
||||
|
||||
void dump(ostream&out, int indent) const;
|
||||
int elaborate(Entity*ent, ScopeBase*scope);
|
||||
|
|
|
|||
Loading…
Reference in New Issue