Internals/Tests: Cleanup some missing dev coverage items

This commit is contained in:
Wilson Snyder
2025-10-11 20:58:03 -04:00
parent 71941cc673
commit eae1e5bdf2
17 changed files with 47 additions and 39 deletions
+9 -9
View File
@@ -277,11 +277,11 @@ void V3Number::create(const char* sourcep) {
break;
}
case '_': break;
default: {
default: { // LCOV_EXCL_START
// Likely impossible as parser prevents hitting it
v3error("Illegal character in decimal constant: " << *cp); // LCOV_EXCL_LINE
v3error("Illegal character in decimal constant: " << *cp);
break;
}
} // LCOV_EXCL_STOP
}
}
obit = width();
@@ -357,18 +357,18 @@ void V3Number::create(const char* sourcep) {
case 'x': setBit(obit++,'x'); setBit(obit++,'x'); setBit(obit++,'x'); setBit(obit++,'x'); break;
// clang-format on
case '_': break;
default:
default: // LCOV_EXCL_START
// Likely impossible as parser prevents hitting it
v3error("Illegal character in hex constant: " << *cp); // LCOV_EXCL_LINE
v3error("Illegal character in hex constant: " << *cp);
break;
}
} // LCOV_EXCL_STOP
break;
}
default:
default: // LCOV_EXCL_START
// Likely impossible as parser prevents hitting it
v3error("Illegal base character: " << base); // LCOV_EXCL_LINE
v3error("Illegal base character: " << base);
break;
}
} // LCOV_EXCL_STOP
}
}