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
+2 -2
View File
@@ -991,9 +991,9 @@ public:
string protectIf(const string& old, bool doIt) {
if (!v3Global.opt.protectIds() || old.empty() || !doIt) return old;
const auto it = m_nameMap.find(old);
if (it != m_nameMap.end())
if (it != m_nameMap.end()) {
return it->second;
else {
} else {
string out;
if (v3Global.opt.debugProtect()) {
// This lets us see the symbol being protected to debug cases