mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 01:54:01 +02:00
Internals: Cleanup some member name vs accessor name mismatches. No functional change.
This commit is contained in:
+4
-4
@@ -1401,9 +1401,9 @@ class LinkParseVisitor final : public VNVisitor {
|
||||
nextp = itemp->nextp();
|
||||
if (AstCgOptionAssign* const optp = VN_CAST(itemp, CgOptionAssign)) {
|
||||
optp->unlinkFrBack();
|
||||
if (optp->optionType() == VCoverOptionType::AT_LEAST
|
||||
|| optp->optionType() == VCoverOptionType::AUTO_BIN_MAX) {
|
||||
nodep->addOptionsp(new AstCoverOption{optp->fileline(), optp->optionType(),
|
||||
if (optp->optType() == VCoverOptionType::AT_LEAST
|
||||
|| optp->optType() == VCoverOptionType::AUTO_BIN_MAX) {
|
||||
nodep->addOptionsp(new AstCoverOption{optp->fileline(), optp->optType(),
|
||||
optp->valuep()->cloneTree(false)});
|
||||
} else {
|
||||
optp->v3warn(COVERIGN,
|
||||
@@ -1425,7 +1425,7 @@ class LinkParseVisitor final : public VNVisitor {
|
||||
nextp = itemp->nextp();
|
||||
itemp->unlinkFrBack();
|
||||
AstCgOptionAssign* const optp = VN_AS(itemp, CgOptionAssign);
|
||||
const VCoverOptionType optType = optp->optionType();
|
||||
const VCoverOptionType optType = optp->optType();
|
||||
optp->v3warn(COVERIGN,
|
||||
"Ignoring unsupported coverage cross option: " + optp->prettyNameQ());
|
||||
// Always preserve the option node so V3Coverage can track its source line
|
||||
|
||||
Reference in New Issue
Block a user