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