Internals: Remove extra semicolons. No functional change.

This commit is contained in:
Wilson Snyder 2019-06-11 18:31:06 -04:00
parent 6c1782e4de
commit 6ffbb7cabf
5 changed files with 11 additions and 11 deletions

View File

@ -63,7 +63,7 @@ protected:
VerilatedFstCallInfo(VerilatedFstCallback_t icb, VerilatedFstCallback_t fcb, VerilatedFstCallInfo(VerilatedFstCallback_t icb, VerilatedFstCallback_t fcb,
VerilatedFstCallback_t changecb, VerilatedFstCallback_t changecb,
void* ut, vluint32_t code) void* ut, vluint32_t code)
: m_initcb(icb), m_fullcb(fcb), m_changecb(changecb), m_userthis(ut), m_code(code) {}; : m_initcb(icb), m_fullcb(fcb), m_changecb(changecb), m_userthis(ut), m_code(code) {}
~VerilatedFstCallInfo() {} ~VerilatedFstCallInfo() {}
}; };

View File

@ -105,7 +105,7 @@ protected:
VerilatedVcdCallInfo(VerilatedVcdCallback_t icb, VerilatedVcdCallback_t fcb, VerilatedVcdCallInfo(VerilatedVcdCallback_t icb, VerilatedVcdCallback_t fcb,
VerilatedVcdCallback_t changecb, VerilatedVcdCallback_t changecb,
void* ut, vluint32_t code) void* ut, vluint32_t code)
: m_initcb(icb), m_fullcb(fcb), m_changecb(changecb), m_userthis(ut), m_code(code) {}; : m_initcb(icb), m_fullcb(fcb), m_changecb(changecb), m_userthis(ut), m_code(code) {}
~VerilatedVcdCallInfo() {} ~VerilatedVcdCallInfo() {}
}; };

View File

@ -162,7 +162,7 @@ public:
// ACCESSORS // ACCESSORS
/// Set size in megabytes after which new file should be created /// Set size in megabytes after which new file should be created
void rolloverMB(vluint64_t rolloverMB) { m_rolloverMB=rolloverMB; }; void rolloverMB(vluint64_t rolloverMB) { m_rolloverMB=rolloverMB; }
/// Is file open? /// Is file open?
bool isOpen() const { return m_isOpen; } bool isOpen() const { return m_isOpen; }
/// Change character that splits scopes. Note whitespace are ALWAYS escapes. /// Change character that splits scopes. Note whitespace are ALWAYS escapes.
@ -440,7 +440,7 @@ public:
/// "cat" to be used to combine the header plus any number of data files. /// "cat" to be used to combine the header plus any number of data files.
void openNext(bool incFilename=true) VL_MT_UNSAFE_ONE { m_sptrace.openNext(incFilename); } void openNext(bool incFilename=true) VL_MT_UNSAFE_ONE { m_sptrace.openNext(incFilename); }
/// Set size in megabytes after which new file should be created /// Set size in megabytes after which new file should be created
void rolloverMB(size_t rolloverMB) { m_sptrace.rolloverMB(rolloverMB); }; void rolloverMB(size_t rolloverMB) { m_sptrace.rolloverMB(rolloverMB); }
/// Close dump /// Close dump
void close() VL_MT_UNSAFE_ONE { m_sptrace.close(); } void close() VL_MT_UNSAFE_ONE { m_sptrace.close(); }
/// Flush dump /// Flush dump
@ -462,7 +462,7 @@ public:
void set_time_resolution(const std::string& unit) { set_time_resolution(unit.c_str()); } void set_time_resolution(const std::string& unit) { set_time_resolution(unit.c_str()); }
/// Internal class access /// Internal class access
inline VerilatedVcd* spTrace() { return &m_sptrace; }; inline VerilatedVcd* spTrace() { return &m_sptrace; }
}; };
#endif // guard #endif // guard

View File

@ -693,7 +693,7 @@ public:
AstStructDType(FileLine* fl, AstNumeric numericUnpack) AstStructDType(FileLine* fl, AstNumeric numericUnpack)
: AstNodeClassDType(fl, numericUnpack) {} : AstNodeClassDType(fl, numericUnpack) {}
ASTNODE_NODE_FUNCS(StructDType) ASTNODE_NODE_FUNCS(StructDType)
virtual string verilogKwd() const { return "struct"; }; virtual string verilogKwd() const { return "struct"; }
}; };
class AstUnionDType : public AstNodeClassDType { class AstUnionDType : public AstNodeClassDType {
@ -702,7 +702,7 @@ public:
AstUnionDType(FileLine* fl, AstNumeric numericUnpack) AstUnionDType(FileLine* fl, AstNumeric numericUnpack)
: AstNodeClassDType(fl, numericUnpack) {} : AstNodeClassDType(fl, numericUnpack) {}
ASTNODE_NODE_FUNCS(UnionDType) ASTNODE_NODE_FUNCS(UnionDType)
virtual string verilogKwd() const { return "union"; }; virtual string verilogKwd() const { return "union"; }
}; };
class AstMemberDType : public AstNodeDType { class AstMemberDType : public AstNodeDType {
@ -3095,7 +3095,7 @@ public:
explicit AstBreak(FileLine* fileline) explicit AstBreak(FileLine* fileline)
: AstNodeStmt(fileline) {} : AstNodeStmt(fileline) {}
ASTNODE_NODE_FUNCS(Break) ASTNODE_NODE_FUNCS(Break)
virtual string verilogKwd() const { return "break"; }; virtual string verilogKwd() const { return "break"; }
virtual V3Hash sameHash() const { return V3Hash(); } virtual V3Hash sameHash() const { return V3Hash(); }
virtual bool isBrancher() const { return true; } // SPECIAL: We don't process code after breaks virtual bool isBrancher() const { return true; } // SPECIAL: We don't process code after breaks
}; };
@ -3105,7 +3105,7 @@ public:
explicit AstContinue(FileLine* fileline) explicit AstContinue(FileLine* fileline)
: AstNodeStmt(fileline) {} : AstNodeStmt(fileline) {}
ASTNODE_NODE_FUNCS(Continue) ASTNODE_NODE_FUNCS(Continue)
virtual string verilogKwd() const { return "continue"; }; virtual string verilogKwd() const { return "continue"; }
virtual V3Hash sameHash() const { return V3Hash(); } virtual V3Hash sameHash() const { return V3Hash(); }
virtual bool isBrancher() const { return true; } // SPECIAL: We don't process code after breaks virtual bool isBrancher() const { return true; } // SPECIAL: We don't process code after breaks
}; };
@ -3129,7 +3129,7 @@ public:
setNOp1p(lhsp); setNOp1p(lhsp);
} }
ASTNODE_NODE_FUNCS(Return) ASTNODE_NODE_FUNCS(Return)
virtual string verilogKwd() const { return "return"; }; virtual string verilogKwd() const { return "return"; }
virtual V3Hash sameHash() const { return V3Hash(); } virtual V3Hash sameHash() const { return V3Hash(); }
AstNode* lhsp() const { return op1p(); } AstNode* lhsp() const { return op1p(); }
virtual bool isBrancher() const { return true; } // SPECIAL: We don't process code after breaks virtual bool isBrancher() const { return true; } // SPECIAL: We don't process code after breaks

View File

@ -51,7 +51,7 @@ class V3Number {
void opCleanThis(bool warnOnTruncation = false); void opCleanThis(bool warnOnTruncation = false);
public: public:
void nodep(AstNode* nodep) { setNames(nodep); } void nodep(AstNode* nodep) { setNames(nodep); }
FileLine* fileline() const { return m_fileline; }; FileLine* fileline() const { return m_fileline; }
V3Number& setZero(); V3Number& setZero();
V3Number& setQuad(vluint64_t value); V3Number& setQuad(vluint64_t value);
V3Number& setLong(uint32_t value); V3Number& setLong(uint32_t value);