Internals: Fix coverage exclusion markers
This commit is contained in:
parent
e9c48cd1ce
commit
aaa49273cf
|
|
@ -180,7 +180,7 @@ private:
|
||||||
// Cadence Incisive has these as abstract functions so we must create them
|
// Cadence Incisive has these as abstract functions so we must create them
|
||||||
void set_time_unit(int exponent10_seconds) override {} // deprecated
|
void set_time_unit(int exponent10_seconds) override {} // deprecated
|
||||||
#endif
|
#endif
|
||||||
void set_time_unit(double v, sc_core::sc_time_unit tu) override {} // LCOV_EXCL_LINE
|
void set_time_unit(double v, sc_core::sc_time_unit tu) override {}
|
||||||
|
|
||||||
//--------------------------------------------------
|
//--------------------------------------------------
|
||||||
// SystemC 2.1.v1
|
// SystemC 2.1.v1
|
||||||
|
|
|
||||||
|
|
@ -1281,7 +1281,7 @@ char* AstNode::dumpTreeJsonGdb(intptr_t nodep) {
|
||||||
return dumpTreeJsonGdb(reinterpret_cast<const AstNode*>(nodep));
|
return dumpTreeJsonGdb(reinterpret_cast<const AstNode*>(nodep));
|
||||||
}
|
}
|
||||||
// cppcheck-suppress unusedFunction // Debug only
|
// cppcheck-suppress unusedFunction // Debug only
|
||||||
void AstNode::dumpGdb(const AstNode* nodep) { // For GDB only // LCOV_EXCL_LINE
|
void AstNode::dumpGdb(const AstNode* nodep) { // For GDB only // LCOV_EXCL_START
|
||||||
if (!nodep) {
|
if (!nodep) {
|
||||||
cout << "<nullptr>" << endl;
|
cout << "<nullptr>" << endl;
|
||||||
return;
|
return;
|
||||||
|
|
|
||||||
|
|
@ -214,7 +214,7 @@ class CombineVisitor final : VNVisitor {
|
||||||
// only used in tracing functions, which are not combined. Blow up in case this changes.
|
// only used in tracing functions, which are not combined. Blow up in case this changes.
|
||||||
nodep->v3fatalSrc(
|
nodep->v3fatalSrc(
|
||||||
"Don't know how to combine functions that are referenced via AstAddrOfCFunc");
|
"Don't know how to combine functions that are referenced via AstAddrOfCFunc");
|
||||||
// LCOV_EXCL_END
|
// LCOV_EXCL_STOP
|
||||||
}
|
}
|
||||||
|
|
||||||
//--------------------
|
//--------------------
|
||||||
|
|
|
||||||
|
|
@ -805,7 +805,7 @@ public:
|
||||||
cout << "- Needs flipping: " << needsFlip << "\n";
|
cout << "- Needs flipping: " << needsFlip << "\n";
|
||||||
cout << "- Needs cleaning: " << needsCleaning << "\n";
|
cout << "- Needs cleaning: " << needsCleaning << "\n";
|
||||||
cout << "- Size: " << resultOps << " input size: " << visitor.m_ops << "\n";
|
cout << "- Size: " << resultOps << " input size: " << visitor.m_ops << "\n";
|
||||||
} // LCOV_EXCL_END
|
} // LCOV_EXCL_STOP
|
||||||
|
|
||||||
// Sometimes we have no terms left after ignoring redundant terms
|
// Sometimes we have no terms left after ignoring redundant terms
|
||||||
// (all of which were zeroes)
|
// (all of which were zeroes)
|
||||||
|
|
|
||||||
|
|
@ -1007,7 +1007,7 @@ class DelayedVisitor final : public VNVisitor {
|
||||||
switch (vscpInfo.m_scheme) {
|
switch (vscpInfo.m_scheme) {
|
||||||
case Scheme::Undecided: // LCOV_EXCL_START
|
case Scheme::Undecided: // LCOV_EXCL_START
|
||||||
UASSERT_OBJ(false, vscp, "Failed to choose NBA scheme");
|
UASSERT_OBJ(false, vscp, "Failed to choose NBA scheme");
|
||||||
break;
|
break; // LCOV_EXCL_STOP
|
||||||
case Scheme::UnsupportedCompoundArrayInLoop: {
|
case Scheme::UnsupportedCompoundArrayInLoop: {
|
||||||
// Will report error at the site of the NBA
|
// Will report error at the site of the NBA
|
||||||
break;
|
break;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue