mirror of
https://github.com/verilator/verilator.git
synced 2025-01-01 04:07:34 +00:00
Fix MSVC++ compile warning
This commit is contained in:
parent
4aa3e72509
commit
c7ed73e249
@ -4403,8 +4403,8 @@ public:
|
||||
case ATOOCT: return "atooct";
|
||||
case ATOBIN: return "atobin";
|
||||
case ATOREAL: return "atoreal";
|
||||
default: V3ERROR_NA;
|
||||
}
|
||||
V3ERROR_NA_RETURN("");
|
||||
}
|
||||
string emitVerilog() override { return "%l." + name() + "()"; }
|
||||
string emitC() override {
|
||||
@ -4414,8 +4414,8 @@ public:
|
||||
case ATOOCT: return "VL_ATOI_N(%li, 8)";
|
||||
case ATOBIN: return "VL_ATOI_N(%li, 2)";
|
||||
case ATOREAL: return "std::atof(%li.c_str())";
|
||||
default: V3ERROR_NA;
|
||||
}
|
||||
V3ERROR_NA_RETURN("");
|
||||
}
|
||||
bool cleanOut() const override { return true; }
|
||||
bool cleanLhs() const override { return true; }
|
||||
|
Loading…
Reference in New Issue
Block a user