mirror of
https://github.com/verilator/verilator.git
synced 2026-09-03 06:03:03 +02:00
Internals: Fix remaining cppcheck errors (#6319)
Fixed the non const-related issue and added suppressions for the const ones. With that `make cppcheck` should be clean.
This commit is contained in:
@@ -58,8 +58,11 @@ public:
|
||||
V3GraphVertex* origVertexp() const { return m_origVertexp; }
|
||||
void setDelete() { m_deleted = true; }
|
||||
bool isDelete() const { return m_deleted; }
|
||||
// cppcheck-suppress uselessOverride // cppcheck is wrong ...
|
||||
string name() const override { return m_origVertexp->name(); }
|
||||
// cppcheck-suppress uselessOverride // cppcheck is wrong ...
|
||||
string dotColor() const override { return m_origVertexp->dotColor(); }
|
||||
// cppcheck-suppress uselessOverride // cppcheck is wrong ...
|
||||
FileLine* fileline() const override { return m_origVertexp->fileline(); }
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user