Apply 'make format'
This commit is contained in:
parent
ec01008fe3
commit
4172c0f29e
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -781,8 +781,9 @@ 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"
|
||||
" (IEEE 1800-2017 11.4.12.1)");
|
||||
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
|
||||
}
|
||||
nodep->dtypeSetLogicUnsized((nodep->srcp()->width() * times),
|
||||
|
|
|
|||
Loading…
Reference in New Issue