mirror of
https://github.com/verilator/verilator.git
synced 2025-01-01 04:07:34 +00:00
Internals: Cleanup some defaults. No functional change.
This commit is contained in:
parent
71dedccbbe
commit
38438b3373
@ -157,8 +157,8 @@ protected:
|
||||
friend class VerilatedCovImp;
|
||||
// CONSTRUCTORS
|
||||
// Internal: Only made as part of VerilatedCovImp
|
||||
VerilatedCovContext() {}
|
||||
virtual ~VerilatedCovContext() {}
|
||||
VerilatedCovContext() = default;
|
||||
virtual ~VerilatedCovContext() = default;
|
||||
|
||||
// METHODS
|
||||
// Internal: access to implementation class
|
||||
|
@ -317,7 +317,7 @@ public:
|
||||
iterate(nodep);
|
||||
m_graph.latchCheck(nodep, kwd == VAlwaysKwd::ALWAYS_LATCH);
|
||||
}
|
||||
virtual ~ActiveLatchCheckVisitor() {}
|
||||
virtual ~ActiveLatchCheckVisitor() = default;
|
||||
};
|
||||
|
||||
//######################################################################
|
||||
|
@ -40,7 +40,7 @@ public:
|
||||
__LINE__, m_info.product);
|
||||
}
|
||||
}
|
||||
~TestSimulator() {}
|
||||
~TestSimulator() = default;
|
||||
// METHORS
|
||||
private:
|
||||
static TestSimulator& singleton() {
|
||||
|
@ -9,8 +9,8 @@
|
||||
class t_extend_class_c {
|
||||
public:
|
||||
// CONSTRUCTORS
|
||||
t_extend_class_c() {}
|
||||
~t_extend_class_c() {}
|
||||
t_extend_class_c() = default;
|
||||
~t_extend_class_c() = default;
|
||||
// METHODS
|
||||
// This function will be called from a instance created in Verilog
|
||||
inline uint32_t my_math(uint32_t in) { return in + 1; }
|
||||
|
Loading…
Reference in New Issue
Block a user