Internals: Mark structs final/VL_NOT_FINAL. No functional change intended.

This commit is contained in:
Wilson Snyder
2024-01-20 15:06:46 -05:00
parent 1a92502788
commit 3a5248a919
48 changed files with 88 additions and 85 deletions
+2 -2
View File
@@ -39,7 +39,7 @@ class CoverageVisitor final : public VNVisitor {
// TYPES
using LinenoSet = std::set<int>;
struct ToggleEnt {
struct ToggleEnt final {
const string m_comment; // Comment for coverage dump
AstNodeExpr* m_varRefp; // How to get to this element
AstNodeExpr* m_chgRefp; // How to get to this element
@@ -54,7 +54,7 @@ class CoverageVisitor final : public VNVisitor {
}
};
struct CheckState { // State save-restored on each new coverage scope/block
struct CheckState final { // State save-restored on each new coverage scope/block
bool m_on = false; // Should this block get covered?
bool m_inModOff = false; // In module with no coverage
int m_handle = 0; // Opaque handle for index into line tracking