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