Support weight in coverage (#8472)

This commit is contained in:
Marco Bartoli
2026-09-24 14:01:45 -04:00
committed by GitHub
parent 88082a4e96
commit 1aa5ab2e3a
40 changed files with 1132 additions and 283 deletions
+2
View File
@@ -1262,10 +1262,12 @@ void AstCoverInc::dumpJson(std::ostream& str) const { dumpJsonGen(str); }
void AstCoverOption::dump(std::ostream& str) const {
Super::dump(str);
str << " " << m_optType.ascii();
if (typeOption()) str << " [TYPEOPT]";
}
void AstCoverOption::dumpJson(std::ostream& str) const {
Super::dumpJson(str);
str << ", \"optType\": \"" << m_optType.ascii() << "\"";
dumpJsonBoolFuncIf(str, typeOption);
}
void AstCoverOtherDecl::dump(std::ostream& str) const {
Super::dump(str);