mirror of
https://github.com/verilator/verilator.git
synced 2026-10-05 17:43:31 +02:00
Split WIDTH warning into WIDTHEXPAND and WIDTHTRUNC (#3900)
This commit is contained in:
+1
-2
@@ -332,8 +332,7 @@ public:
|
||||
}
|
||||
bool waive(V3ErrorCode code, const string& match) {
|
||||
for (const auto& itr : m_waivers) {
|
||||
if (((itr.first == code) || (itr.first == V3ErrorCode::I_LINT)
|
||||
|| (code.unusedError() && itr.first == V3ErrorCode::I_UNUSED))
|
||||
if ((code.isUnder(itr.first) || (itr.first == V3ErrorCode::I_LINT))
|
||||
&& VString::wildmatch(match, itr.second)) {
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user