Internals: clangtidy cleanups. No functional change intended (#7343)

This commit is contained in:
Wilson Snyder
2026-03-27 23:14:18 -04:00
committed by GitHub
parent 82c817d425
commit 31757df229
139 changed files with 1089 additions and 1238 deletions
+2 -2
View File
@@ -510,7 +510,7 @@ public:
void go() {
// Create a new always for each color
const ColorSet& colors = m_ifColorp->colors();
for (unsigned int color : colors) {
for (const unsigned int color : colors) {
// We don't need to clone m_origAlwaysp->sensesp() here;
// V3Activate already moved it to a parent node.
AstAlways* const alwaysp
@@ -560,7 +560,7 @@ protected:
using CloneMap = std::unordered_map<uint32_t, AstNodeIf*>;
CloneMap clones;
for (unsigned int color : colors) {
for (const unsigned int color : colors) {
// Clone this if into its set of split blocks
AstSplitPlaceholder* const if_placeholderp = makePlaceholderp();
AstSplitPlaceholder* const else_placeholderp = makePlaceholderp();