Apply 'make format'

This commit is contained in:
github action 2024-01-03 12:13:21 +00:00
parent ec01008fe3
commit 4172c0f29e
2 changed files with 5 additions and 4 deletions

View File

@ -228,8 +228,8 @@ public:
bool pretendError() const VL_MT_SAFE {
return (m_e == ASSIGNIN || m_e == BADSTDPRAGMA || m_e == BLKANDNBLK || m_e == BLKLOOPINIT
|| m_e == CONTASSREG || m_e == ENCAPSULATED || m_e == ENDLABEL || m_e == ENUMVALUE
|| m_e == IMPURE || m_e == PINNOTFOUND || m_e == PKGNODECL
|| m_e == PROCASSWIRE || m_e == ZEROREPL // Says IEEE
|| m_e == IMPURE || m_e == PINNOTFOUND || m_e == PKGNODECL || m_e == PROCASSWIRE
|| m_e == ZEROREPL // Says IEEE
);
}
// Warnings to mention manual

View File

@ -781,7 +781,8 @@ class WidthVisitor final : public VNVisitor {
if (!constp) nodep->v3error("Replication value isn't a constant.");
if (times == 0
&& !VN_IS(nodep->backp(), Concat)) { // Concat Visitor will clean it up.
nodep->v3warn(ZEROREPL, "Replication value of 0 is only legal under a concatenation"
nodep->v3warn(ZEROREPL,
"Replication value of 0 is only legal under a concatenation"
" (IEEE 1800-2017 11.4.12.1)");
times = 1; // Set to 1, so we can continue looking for errors
}