Add --waiver-multiline for context-sensitive --waiver-output.

This commit is contained in:
Wilson Snyder
2024-11-11 20:00:26 -05:00
parent 46a5f04840
commit 4d95f6f7b8
22 changed files with 133 additions and 81 deletions
+2
View File
@@ -117,6 +117,8 @@ void V3ErrorGuarded::suppressThisWarning() VL_REQUIRES(m_mutex) {
// cppcheck-has-bug-suppress constParameter
void V3ErrorGuarded::v3errorEnd(std::ostringstream& sstr, const string& extra)
VL_REQUIRES(m_mutex) {
// 'extra' is appended to the message, and is is excluded in check for
// duplicate messages. Currently used for reporting instance name.
#if defined(__COVERITY__) || defined(__cppcheck__)
if (m_errorCode == V3ErrorCode::EC_FATAL) __coverity_panic__(x);
#endif