mirror of
https://github.com/verilator/verilator.git
synced 2026-09-02 18:58:51 +02:00
Internals: Cleanup some missing VL_RESTORERs. No functional change intended.
This commit is contained in:
+1
-1
@@ -72,13 +72,13 @@ class CaseLintVisitor final : public VNVisitorConst {
|
||||
|
||||
// Check for X/Z in non-casex statements
|
||||
{
|
||||
VL_RESTORER(m_caseExprp);
|
||||
m_caseExprp = nodep;
|
||||
iterateConst(nodep->exprp());
|
||||
for (AstCaseItem* itemp = nodep->itemsp(); itemp;
|
||||
itemp = VN_AS(itemp->nextp(), CaseItem)) {
|
||||
iterateAndNextConstNull(itemp->condsp());
|
||||
}
|
||||
m_caseExprp = nullptr;
|
||||
}
|
||||
}
|
||||
void visit(AstConst* nodep) override {
|
||||
|
||||
Reference in New Issue
Block a user