mirror of
https://github.com/verilator/verilator.git
synced 2026-08-31 10:04:40 +02:00
Add error on mismatching prototypes (#6207).
This commit is contained in:
@@ -168,6 +168,17 @@ private:
|
||||
}
|
||||
}
|
||||
}
|
||||
void visit(AstAttrOf* nodep) override {
|
||||
switch (nodep->attrType()) {
|
||||
case VAttrType::FUNC_ARG_PROTO: // FALLTHRU
|
||||
case VAttrType::FUNC_RETURN_PROTO:
|
||||
VL_DO_DANGLING(pushDeletep(nodep->unlinkFrBack()), nodep);
|
||||
return;
|
||||
default:;
|
||||
}
|
||||
iterateChildren(nodep);
|
||||
editDType(nodep);
|
||||
}
|
||||
void visit(AstClassExtends* nodep) override {
|
||||
if (nodep->user1SetOnce()) return; // Process once
|
||||
// Extend arguments were converted to super.new arguments in V3LinkDot
|
||||
|
||||
Reference in New Issue
Block a user