mirror of
https://github.com/verilator/verilator.git
synced 2025-01-01 04:07:34 +00:00
Fix unnecessary verilated_std.sv waivers in --waiver-output.
This commit is contained in:
parent
6c21b21ecc
commit
38000a3da0
1
Changes
1
Changes
@ -39,6 +39,7 @@ Verilator 5.009 devel
|
||||
* Fix characters from DEFENV literals for conda (#4035) (#4044). [Tim Snyder]
|
||||
* Fix interface generate begin (#4065). [Srinivasan Venkataramanan]
|
||||
* Fix false ENUMVALUE on expressions and arrays.
|
||||
* Fix unnecessary verilated_std.sv waivers in --waiver-output.
|
||||
|
||||
|
||||
Verilator 5.008 2023-03-04
|
||||
|
@ -19,6 +19,7 @@
|
||||
#include "V3Waiver.h"
|
||||
|
||||
#include "V3File.h"
|
||||
#include "V3Options.h"
|
||||
|
||||
#include <memory>
|
||||
#include <sstream>
|
||||
@ -26,6 +27,7 @@
|
||||
void V3Waiver::addEntry(V3ErrorCode errorCode, const std::string& filename, const std::string& str)
|
||||
VL_MT_SAFE_EXCLUDES(s_mutex) {
|
||||
const VerilatedLockGuard lock{s_mutex};
|
||||
if (filename == V3Options::getStdPackagePath()) return;
|
||||
std::stringstream entry;
|
||||
const size_t pos = str.find('\n');
|
||||
entry << "lint_off -rule " << errorCode.ascii() << " -file \"*" << filename << "\" -match \""
|
||||
|
Loading…
Reference in New Issue
Block a user