add lcov ignore comments
This commit is contained in:
parent
aea1d13b7d
commit
e80c377db8
|
|
@ -1026,8 +1026,8 @@ public:
|
|||
string emitSimpleOperator() override { V3ERROR_NA_RETURN(""); }
|
||||
bool cleanOut() const override { V3ERROR_NA_RETURN(""); }
|
||||
int instrCount() const override { V3ERROR_NA_RETURN(0); }
|
||||
bool sameNode(const AstNode* samep) const override {
|
||||
return m_unbounded == VN_DBG_AS(samep, ConsRep)->m_unbounded;
|
||||
bool sameNode(const AstNode* samep) const override { // LCOV_EXCL_LINE
|
||||
return m_unbounded == VN_DBG_AS(samep, ConsRep)->m_unbounded; // LCOV_EXCL_LINE
|
||||
}
|
||||
bool unbounded() const { return m_unbounded; }
|
||||
};
|
||||
|
|
|
|||
|
|
@ -448,14 +448,14 @@ void AstConsDynArray::dumpJson(std::ostream& str) const {
|
|||
dumpJsonGen(str);
|
||||
}
|
||||
|
||||
void AstConsRep::dump(std::ostream& str) const {
|
||||
void AstConsRep::dump(std::ostream& str) const { // LCOV_EXCL_START
|
||||
this->AstNodeExpr::dump(str);
|
||||
if (unbounded()) str << " [unbounded]";
|
||||
}
|
||||
void AstConsRep::dumpJson(std::ostream& str) const {
|
||||
dumpJsonBoolFuncIf(str, unbounded);
|
||||
dumpJsonGen(str);
|
||||
}
|
||||
} // LCOV_EXCL_STOP
|
||||
void AstConsQueue::dump(std::ostream& str) const {
|
||||
this->AstNodeExpr::dump(str);
|
||||
if (lhsIsValue()) str << " [LVAL]";
|
||||
|
|
|
|||
|
|
@ -6818,7 +6818,7 @@ sexpr<nodeExprp>: // ==IEEE: sequence_expr (The name sexpr is important as reg
|
|||
{ $$ = new AstConsRep{$<fl>2, $1, $3}; }
|
||||
// // [*N:M] range
|
||||
| ~p~sexpr/*sexpression_or_dist*/ yP_BRASTAR constExpr ':' constExpr ']'
|
||||
{ $$ = new AstConsRep{$<fl>2, $1, $3, $5, false}; }
|
||||
{ $$ = new AstConsRep{$<fl>2, $1, $3, $5, false}; } // LCOV_EXCL_LINE
|
||||
// // [+] = [*1:$]
|
||||
| ~p~sexpr/*sexpression_or_dist*/ yP_BRAPLUSKET
|
||||
{ $$ = new AstConsRep{$<fl>2, $1,
|
||||
|
|
|
|||
Loading…
Reference in New Issue