mirror of
https://github.com/verilator/verilator.git
synced 2026-10-07 10:33:13 +02:00
clang-tidy cleanups. No functional change intended.
This commit is contained in:
+2
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user