mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 10:03:44 +02:00
Rename and make it derive from AstNode instead of AstNodeAssign. Small step towards #6280. No functional change.
This commit is contained in:
+1
-2
@@ -225,8 +225,7 @@ private:
|
||||
// VISITORS
|
||||
void visit(AstNodeAssign* nodep) override {
|
||||
processAndIterate(nodep);
|
||||
UASSERT_OBJ(!(v3Global.assertDTypesResolved() && nodep->brokeLhsMustBeLvalue()
|
||||
&& VN_IS(nodep->lhsp(), NodeVarRef)
|
||||
UASSERT_OBJ(!(v3Global.assertDTypesResolved() && VN_IS(nodep->lhsp(), NodeVarRef)
|
||||
&& !VN_AS(nodep->lhsp(), NodeVarRef)->access().isWriteOrRW()),
|
||||
nodep, "Assignment LHS is not an lvalue");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user