mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 10:03:44 +02:00
Internals: clangtidy cleanups. No functional change intended (#7343)
This commit is contained in:
+1
-1
@@ -470,7 +470,7 @@ public:
|
||||
const MsgEnBitSet& lhsMsgEn = msgEn();
|
||||
const MsgEnBitSet& rhsMsgEn = rhs.msgEn();
|
||||
for (size_t i = 0; i < V3ErrorCode::_ENUM_MAX; ++i) {
|
||||
V3ErrorCode code = static_cast<V3ErrorCode>(i);
|
||||
const V3ErrorCode code = static_cast<V3ErrorCode>(i);
|
||||
if (lhsMsgEn.enabled(code) != rhsMsgEn.enabled(code))
|
||||
return rhsMsgEn.enabled(code) ? -1 : 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user