Apply 'make format'

This commit is contained in:
github action 2026-06-09 00:44:06 +00:00 committed by Matthew Ballance
parent 2aaf24fd04
commit 8b2eb579d5
2 changed files with 5 additions and 7 deletions

View File

@ -31,9 +31,9 @@
// Per-bin classification. A bin's kind is which set it lives in (structural),
// not a per-bin field. Only Normal feeds coverage(); the rest are recorded.
enum class VlCovBinKind : uint8_t {
NORMAL = 0, // Base coverage-collecting bin
DEFAULT = 1, // Bin declared with 'default' range (which is excluded per LRM)
IGNORE = 2, // Ignore bin
NORMAL = 0, // Base coverage-collecting bin
DEFAULT = 1, // Bin declared with 'default' range (which is excluded per LRM)
IGNORE = 2, // Ignore bin
ILLEGAL = 3 // Illegal bin
};

View File

@ -688,8 +688,7 @@ class FunctionalCoverageVisitor final : public VNVisitor {
+ std::to_string(fl->firstColumn()) + ");";
if (count < 0) { // single bin
cs->add(".addSingleNamer(" + std::string{binp->binsType().binSetEnum()} + ", \""
+ binp->name()
+ "\", " + loc);
+ binp->name() + "\", " + loc);
} else { // value array bin
cs->add(".addArrayNamer(" + std::string{binp->binsType().binSetEnum()} + ", "
+ std::to_string(count) + ", \"" + binp->name() + "\", " + loc);
@ -704,8 +703,7 @@ class FunctionalCoverageVisitor final : public VNVisitor {
AstCStmt* const hitp = new AstCStmt{fl};
hitp->add(memberRef(fl, cpVarp));
hitp->add((binp->binsType().binIsNormal() ? ".incrementBin(" : ".recordHit(")
+ std::to_string(idx)
+ ");");
+ std::to_string(idx) + ");");
AstNode* actionp = hitp;
if (binp->binsType() == VCoverBinsType::BINS_ILLEGAL) {
actionp->addNext(makeIllegalBinAction(fl, "Illegal bin " + binp->prettyNameQ()