Internals: Cleanup some member name vs accessor name mismatches. No functional change.

This commit is contained in:
Wilson Snyder
2026-09-01 20:10:04 -04:00
parent a3932e259b
commit c7aa95439c
8 changed files with 64 additions and 64 deletions
+4 -4
View File
@@ -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