Internal: clang-tidy fixes. No functional change.

This commit is contained in:
Wilson Snyder
2020-04-15 21:47:37 -04:00
parent d4f7f5297a
commit e6f345e45d
16 changed files with 54 additions and 43 deletions
+3 -3
View File
@@ -250,7 +250,7 @@ public:
return (m_on > rh.m_on);
}
};
std::ostream& operator<<(std::ostream& os, V3ConfigIgnoresLine rhs) {
std::ostream& operator<<(std::ostream& os, const V3ConfigIgnoresLine& rhs) {
return os << rhs.m_lineno << ", " << rhs.m_code << ", " << rhs.m_on;
}
@@ -456,8 +456,8 @@ void V3Config::addVarAttr(FileLine* fl, const string& module, const string& ftas
}
}
void V3Config::addWaiver(V3ErrorCode code, const string& filename, const string& match) {
V3ConfigResolver::s().files().at(filename).addWaiver(code, match);
void V3Config::addWaiver(V3ErrorCode code, const string& filename, const string& message) {
V3ConfigResolver::s().files().at(filename).addWaiver(code, message);
}
void V3Config::applyCase(AstCase* nodep) {