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,
VerilatedFstCallback_t changecb,
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() {}
};

View File

@ -105,7 +105,7 @@ protected:
VerilatedVcdCallInfo(VerilatedVcdCallback_t icb, VerilatedVcdCallback_t fcb,
VerilatedVcdCallback_t changecb,
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() {}
};

View File

@ -162,7 +162,7 @@ public:
// ACCESSORS
/// 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?
bool isOpen() const { return m_isOpen; }
/// 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.
void openNext(bool incFilename=true) VL_MT_UNSAFE_ONE { m_sptrace.openNext(incFilename); }
/// 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
void close() VL_MT_UNSAFE_ONE { m_sptrace.close(); }
/// Flush dump
@ -462,7 +462,7 @@ public:
void set_time_resolution(const std::string& unit) { set_time_resolution(unit.c_str()); }
/// Internal class access
inline VerilatedVcd* spTrace() { return &m_sptrace; };
inline VerilatedVcd* spTrace() { return &m_sptrace; }
};
#endif // guard

View File

@ -693,7 +693,7 @@ public:
AstStructDType(FileLine* fl, AstNumeric numericUnpack)
: AstNodeClassDType(fl, numericUnpack) {}
ASTNODE_NODE_FUNCS(StructDType)
virtual string verilogKwd() const { return "struct"; };
virtual string verilogKwd() const { return "struct"; }
};
class AstUnionDType : public AstNodeClassDType {
@ -702,7 +702,7 @@ public:
AstUnionDType(FileLine* fl, AstNumeric numericUnpack)
: AstNodeClassDType(fl, numericUnpack) {}
ASTNODE_NODE_FUNCS(UnionDType)
virtual string verilogKwd() const { return "union"; };
virtual string verilogKwd() const { return "union"; }
};
class AstMemberDType : public AstNodeDType {
@ -3095,7 +3095,7 @@ public:
explicit AstBreak(FileLine* fileline)
: AstNodeStmt(fileline) {}
ASTNODE_NODE_FUNCS(Break)
virtual string verilogKwd() const { return "break"; };
virtual string verilogKwd() const { return "break"; }
virtual V3Hash sameHash() const { return V3Hash(); }
virtual bool isBrancher() const { return true; } // SPECIAL: We don't process code after breaks
};
@ -3105,7 +3105,7 @@ public:
explicit AstContinue(FileLine* fileline)
: AstNodeStmt(fileline) {}
ASTNODE_NODE_FUNCS(Continue)
virtual string verilogKwd() const { return "continue"; };
virtual string verilogKwd() const { return "continue"; }
virtual V3Hash sameHash() const { return V3Hash(); }
virtual bool isBrancher() const { return true; } // SPECIAL: We don't process code after breaks
};
@ -3129,7 +3129,7 @@ public:
setNOp1p(lhsp);
}
ASTNODE_NODE_FUNCS(Return)
virtual string verilogKwd() const { return "return"; };
virtual string verilogKwd() const { return "return"; }
virtual V3Hash sameHash() const { return V3Hash(); }
AstNode* lhsp() const { return op1p(); }
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);
public:
void nodep(AstNode* nodep) { setNames(nodep); }
FileLine* fileline() const { return m_fileline; };
FileLine* fileline() const { return m_fileline; }
V3Number& setZero();
V3Number& setQuad(vluint64_t value);
V3Number& setLong(uint32_t value);