diff --git a/src/V3AstNodeOther.h b/src/V3AstNodeOther.h index 5cffb9aea..691bb1e28 100644 --- a/src/V3AstNodeOther.h +++ b/src/V3AstNodeOther.h @@ -1279,8 +1279,10 @@ class AstNetlist final : public AstNode { bool m_timescaleSpecified = false; // Input HDL specified timescale uint32_t m_nTraceCodes = 0; // Number of trace codes used by design // Sparse metadata for constants produced from named parameters/localparams. Keep this off - // AstConst itself, as AstConst is a very common node and only a small fraction carry this name. + // AstConst itself, as AstConst is a very common node and only a small fraction carry this + // name. std::unordered_map m_constOrigParamNames; + public: AstNetlist(); ASTGEN_MEMBERS_AstNetlist; diff --git a/src/V3AstNodes.cpp b/src/V3AstNodes.cpp index bae1172ee..1d02f8ebc 100644 --- a/src/V3AstNodes.cpp +++ b/src/V3AstNodes.cpp @@ -1837,8 +1837,8 @@ void AstNodeExpr::dumpJson(std::ostream& str) const { dumpJsonGen(str); } AstConst::~AstConst() { // Only rare constants carry originating parameter-name metadata. For all other AstConst nodes, - // the V3Number bit keeps this destructor from touching AstNetlist's side table. When the bit is - // set, erase the entry before this AstConst address can be reused by a different node. + // the V3Number bit keeps this destructor from touching AstNetlist's side table. When the bit + // is set, erase the entry before this AstConst address can be reused by a different node. if (m_num.hasOrigParamName()) v3Global.rootp()->astConstOrigParamNameErase(this); }