Internals: Constructor cleanup. No functional change.
This commit is contained in:
parent
7d4d618d98
commit
d3016b62f5
|
|
@ -987,7 +987,7 @@ public:
|
|||
class VerilogStringLiteral {}; // for creator type-overload selection
|
||||
AstConst(FileLine* fl, VerilogStringLiteral, const string& str)
|
||||
: ASTGEN_SUPER_Const(fl)
|
||||
, m_num(V3Number::VerilogStringLiteral{}, this, str) {
|
||||
, m_num{V3Number::VerilogStringLiteral{}, this, str} {
|
||||
initWithNumber();
|
||||
}
|
||||
AstConst(FileLine* fl, uint32_t num)
|
||||
|
|
@ -1033,7 +1033,7 @@ public:
|
|||
class String {}; // for creator type-overload selection
|
||||
AstConst(FileLine* fl, String, const string& num)
|
||||
: ASTGEN_SUPER_Const(fl)
|
||||
, m_num(V3Number::String{}, this, num) {
|
||||
, m_num{V3Number::String{}, this, num} {
|
||||
dtypeSetString();
|
||||
}
|
||||
class BitFalse {};
|
||||
|
|
@ -1066,14 +1066,14 @@ public:
|
|||
class Null {};
|
||||
AstConst(FileLine* fl, Null)
|
||||
: ASTGEN_SUPER_Const(fl)
|
||||
, m_num(V3Number::Null{}, this) {
|
||||
, m_num{V3Number::Null{}, this} {
|
||||
dtypeSetBit(); // Events 1 bit, objects 64 bits, so autoExtend=1 and use bit here
|
||||
initWithNumber();
|
||||
}
|
||||
class OneStep {};
|
||||
AstConst(FileLine* fl, OneStep)
|
||||
: ASTGEN_SUPER_Const(fl)
|
||||
, m_num(V3Number::OneStep{}, this) {
|
||||
, m_num{V3Number::OneStep{}, this} {
|
||||
dtypeSetLogicSized(64, VSigning::UNSIGNED);
|
||||
initWithNumber();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue