clang-tidy cleanups. No functional change intended.

This commit is contained in:
Wilson Snyder
2020-08-16 14:55:46 -04:00
parent d75a8624c1
commit 6013b54f7b
40 changed files with 100 additions and 90 deletions
+1 -1
View File
@@ -212,7 +212,7 @@ void V3Error::v3errorEnd(std::ostringstream& sstr, const string& locationStr) {
s_messages.insert(msg);
if (!locationStr.empty()) {
string locationMsg = warnMore() + locationStr + "\n";
size_t pos = msg.find("\n");
size_t pos = msg.find('\n');
msg.insert(pos + 1, locationMsg);
}
// Output