From d3016b62f5b635b7f1875430d8f6d89d9d24fe94 Mon Sep 17 00:00:00 2001 From: Wilson Snyder Date: Tue, 29 Apr 2025 19:23:35 -0400 Subject: [PATCH] Internals: Constructor cleanup. No functional change. --- src/V3AstNodeExpr.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/V3AstNodeExpr.h b/src/V3AstNodeExpr.h index c5ac75048..111edca1e 100644 --- a/src/V3AstNodeExpr.h +++ b/src/V3AstNodeExpr.h @@ -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(); }