More cppcheck updates

This commit is contained in:
Cary R
2025-10-20 23:54:15 -07:00
parent 929fbf3507
commit 08c8ee081a
53 changed files with 941 additions and 725 deletions
+3 -3
View File
@@ -1,7 +1,7 @@
#ifndef IVL_Module_H
#define IVL_Module_H
/*
* Copyright (c) 1998-2021 Stephen Williams ([email protected])
* Copyright (c) 1998-2025 Stephen Williams ([email protected])
*
* This source code is free software; you can redistribute it
* and/or modify it in source code form under the terms of the GNU
@@ -74,7 +74,7 @@ class Module : public PScopeExtra, public PNamedItem {
/* The name passed here is the module name, not the instance
name. This name must be a permallocated string. */
explicit Module(LexicalScope*parent, perm_string name);
~Module();
~Module() override;
/* Initially false. This is set to true if the module has been
declared as a library module. This makes the module
@@ -167,7 +167,7 @@ class Module : public PScopeExtra, public PNamedItem {
bool elaborate_sig(Design*, NetScope*scope) const;
SymbolType symbol_type() const;
SymbolType symbol_type() const override;
bool can_be_toplevel() const;