mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 10:03:44 +02:00
Fix access to non-overridden base class variable (#2654).
This commit is contained in:
+2
-1
@@ -76,7 +76,8 @@ private:
|
||||
// cppcheck-suppress unreadVariable // cppcheck 1.90 bug
|
||||
VarFlags flags(nodep->varp());
|
||||
if (flags.m_done) {
|
||||
nodep->hiername(""); // Remove this->
|
||||
nodep->hiernameToProt(""); // Remove this->
|
||||
nodep->hiernameToUnprot(""); // Remove this->
|
||||
nodep->hierThis(true);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user