vhdlpp: Fixed a few shadow warnings.

This commit is contained in:
Maciej Suminski 2016-03-09 11:30:11 +01:00 committed by Martin Whitaker
parent 708a7d0621
commit 9d487c6951
5 changed files with 8 additions and 8 deletions

View File

@ -875,8 +875,8 @@ double ExpTime::to_fs() const
return val;
}
ExpRange::ExpRange(Expression*left, Expression*right, range_dir_t direction)
: left_(left), right_(right), direction_(direction), range_expr_(false),
ExpRange::ExpRange(Expression*left_idx, Expression*right_idx, range_dir_t dir)
: left_(left_idx), right_(right_idx), direction_(dir), range_expr_(false),
range_base_(NULL)
{
}

View File

@ -1020,7 +1020,7 @@ class ExpRange : public Expression {
typedef enum { DOWNTO, TO, AUTO } range_dir_t;
// Regular range
ExpRange(Expression*left, Expression*right, range_dir_t direction);
ExpRange(Expression*left_idx, Expression*right_idx, range_dir_t dir);
// 'range/'reverse range attribute
ExpRange(ExpName*base, bool reverse_range);
~ExpRange();

View File

@ -304,7 +304,7 @@ WaitForStmt::WaitForStmt(Expression*delay)
{
}
WaitStmt::WaitStmt(wait_type_t type, Expression*expr)
: type_(type), expr_(expr)
WaitStmt::WaitStmt(wait_type_t typ, Expression*expr)
: type_(typ), expr_(expr)
{
}

View File

@ -334,7 +334,7 @@ class WaitForStmt : public SequentialStmt {
class WaitStmt : public SequentialStmt {
public:
typedef enum { ON, UNTIL, FINAL } wait_type_t;
WaitStmt(wait_type_t type, Expression*expression);
WaitStmt(wait_type_t typ, Expression*expression);
void dump(ostream&out, int indent) const;
int elaborate(Entity*ent, ScopeBase*scope);

View File

@ -146,9 +146,9 @@ class SubprogramHeader : public LineInfo {
class SubprogramStdHeader : public SubprogramHeader
{
public:
SubprogramStdHeader(perm_string name, std::list<InterfacePort*>*ports,
SubprogramStdHeader(perm_string nam, std::list<InterfacePort*>*ports,
const VType*return_type) :
SubprogramHeader(name, ports, return_type) {}
SubprogramHeader(nam, ports, return_type) {}
virtual ~SubprogramStdHeader() {};
bool is_std() const { return true; }