Minor cppcheck updates in vvp and switch vvp to use override for virtual functions

This commit is contained in:
Cary R
2025-07-21 23:32:34 -07:00
parent 8bd9cb14e7
commit db82380cec
45 changed files with 756 additions and 742 deletions
+5 -5
View File
@@ -1,7 +1,7 @@
#ifndef IVL_sfunc_H
#define IVL_sfunc_H
/*
* Copyright (c) 2006-2014 Stephen Williams ([email protected])
* Copyright (c) 2006-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
@@ -28,13 +28,13 @@ class sfunc_core : public vvp_wide_fun_core, protected vvp_gen_event_s {
~sfunc_core();
void recv_vec4(vvp_net_ptr_t port, const vvp_vector4_t&bit,
vvp_context_t context);
vvp_context_t context) override;
private:
void recv_vec4_from_inputs(unsigned port);
void recv_real_from_inputs(unsigned port);
void recv_vec4_from_inputs(unsigned port) override;
void recv_real_from_inputs(unsigned port) override;
void run_run();
void run_run() override;
private: